CVE-2026-40961: Apache Airflow: Open Redirect Bypass Vulnerability
A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed the issafeurl 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.2.2 - Compensating control
Place Apache Airflow behind a reverse proxy that strips off-domain `next=` query parameters before they reach the login endpoint.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40961?
The severity of CVE-2026-40961 is high, with a CVSS score of 7.2.
What is the impact of CVE-2026-40961?
CVE-2026-40961 allows authenticated users to bypass the `is_safe_url` check, enabling redirection to an attacker-controlled origin.
How do I fix CVE-2026-40961?
To fix CVE-2026-40961, users should upgrade to apache-airflow version 3.2.2 or later.
What software is affected by CVE-2026-40961?
CVE-2026-40961 affects Apache Airflow.
When was CVE-2026-40961 published?
CVE-2026-40961 was published on May 31, 2026.