Description
A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed the `is_safe_url` check, enabling redirection from a trusted Airflow domain to an attacker-controlled origin. Users are advised to upgrade to `apache-airflow` 3.2.2 or later. As a defense-in-depth mitigation, deployment operators can place Airflow behind a reverse proxy that strips off-domain `next=` query parameters before they reach the login endpoint.
Published: 2026-06-01
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the login redirect logic of Apache Airflow allows authenticated users to craft URLs that circumvent the "is_safe_url" validation, enabling redirection from a trusted Airflow domain to an attacker‑controlled domain. The result is an open redirect that can be used to trick users into visiting malicious sites, enabling phishing or credential harvesting. The weakness is a classic Open Redirect (CWE‑601).

Affected Systems

The issue affects installations of Apache Airflow running any release prior to 3.2.2. Users should verify their current version and plan to upgrade to 3.2.2 or later to receive the fixed redirect logic.

Risk and Exploitability

The vulnerability requires the attacker to be an authenticated Airflow user, but does not require elevated privileges or code execution. There is no publicly available EPSS score and the flaw is not listed in CISA’s KEV catalog, suggesting that, while the likelihood of exploitation is uncertain, the impact of successful exploitation could be significant through social‑engineering attacks. The CVSS score is not provided in the data, but the presence of an authenticated open redirect typically falls into a high severity range. Attackers can manipulate the "next=" query parameter to point to arbitrary URLs, bypassing internal safety checks. No critical prerequisites beyond successful authentication are required, making the exploit straightforward for compromised or target accounts.

Generated by OpenCVE AI on June 1, 2026 at 10:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Airflow to version 3.2.2 or later to receive the fixed redirect logic.
  • Configure a reverse proxy in front of Airflow to strip or reject off‑domain "next=" query parameters before they reach the login endpoint.
  • Implement additional input validation on redirect targets, ensuring only internal or whitelisted domains are accepted, thereby restoring the intended safety check.

Generated by OpenCVE AI on June 1, 2026 at 10:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 01 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed the `is_safe_url` check, enabling redirection from a trusted Airflow domain to an attacker-controlled origin. Users are advised to upgrade to `apache-airflow` 3.2.2 or later. As a defense-in-depth mitigation, deployment operators can place Airflow behind a reverse proxy that strips off-domain `next=` query parameters before they reach the login endpoint.
Title Apache Airflow: Open Redirect Bypass Vulnerability
Weaknesses CWE-601
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-06-01T09:52:23.058Z

Reserved: 2026-04-16T01:04:38.929Z

Link: CVE-2026-40961

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-01T09:16:18.010

Modified: 2026-06-01T09:16:18.010

Link: CVE-2026-40961

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-01T10:30:26Z

Weaknesses