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: 7.2 High
EPSS: < 1% Very Low
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 bypass the is_safe_url check, resulting in an open redirect from a trusted Airflow domain to an attacker-controlled origin. This can potentially be leveraged for malicious activities such as phishing or credential theft.

Affected Systems

The vulnerability affects any installation of Apache Airflow running a version earlier than 3.2.2. Users should verify the currently installed version and plan an upgrade to 3.2.2 or newer to receive the patched redirect logic.

Risk and Exploitability

The CVSS score of 7.2 indicates medium‑to‑high severity, while the EPSS score is less than 1% and the flaw is not listed in CISA’s KEV catalog, which suggests a low likelihood of exploitation. Attackers must be authenticated but do not need elevated privileges. Based on the description, it is inferred that once the redirect bypass is achieved, the attacker can redirect users to malicious domains, potentially enabling phishing or credential harvesting. The exploit is straightforward for compromised or target accounts.

Generated by OpenCVE AI on June 2, 2026 at 18:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Airflow to version 3.2.2 or later to apply the fixed redirect logic.
  • Configure the deployment behind a reverse proxy that removes off‑domain next= query parameters before they reach the login endpoint.
  • Implement additional input validation or a whitelist to ensure redirect targets are confined to trusted internal domains.

Generated by OpenCVE AI on June 2, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 02 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*

Tue, 02 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 01 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Mon, 01 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
References

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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-06-02T16:42:33.748Z

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

Link: CVE-2026-40961

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

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

Modified: 2026-06-02T18:49:33.580

Link: CVE-2026-40961

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-02T19:00:13Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')