CVE-2026-40961
CVE-2026-40961 is a high-severity vulnerability in Apache Airflow with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-601.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-33597
- Weakness: CWE-601
- Affected product: Apache Airflow
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40961?
- 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.
- How severe is CVE-2026-40961?
- CVE-2026-40961 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2026-40961 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40961?
- CVE-2026-40961 affects Apache Airflow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40961?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40961 have an EU (EUVD) identifier?
- Yes. CVE-2026-40961 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-33597.
- When was CVE-2026-40961 published?
- CVE-2026-40961 was published on 2026-06-01 and last updated on 2026-06-17.
References
- https://github.com/apache/airflow/pull/65557
- https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q
- http://www.openwall.com/lists/oss-security/2026/05/31/2
Affected products (1)
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Airflow
- CVE-2023-25754 — Critical (CVSS 9.8): Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache…
- CVE-2023-22884 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software…
- CVE-2022-40189 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38649 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38054 — Critical (CVSS 9.8): In Apache Airflow versions 2.2.4 through 2.3.3, the `database` webserver session backend was susceptible to session…
- CVE-2021-38540 — Critical (CVSS 9.8): The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed…
All CVEs affecting Apache Airflow →
Other CWE-601 (Open Redirect) vulnerabilities
- CVE-2018-3774 — Critical (CVSS 10.0): Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open…
- CVE-2019-25282 — Critical (CVSS 9.8): V-SOL GPON/EPON OLT Platform v2.03 contains an open redirect vulnerability in the script that allows attackers to…
- CVE-2020-36912 — Critical (CVSS 9.8): Plexus anblick Digital Signage Management 3.1.13 contains an open redirect vulnerability in the 'PantallaLogin' script…
- CVE-2025-43526 — Critical (CVSS 9.8): This issue was addressed with improved URL validation. This issue is fixed in Safari 26.2, macOS Tahoe 26.2. On a Mac…
- CVE-2025-55031 — Critical (CVSS 9.8): Malicious pages could use Firefox for iOS to pass FIDO: links to the OS and trigger the hybrid passkey transport. An…
- CVE-2024-22891 — Critical (CVSS 9.8): Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link.