CVE-2026-40961 Apache Airflow: Open Redirect Bypass Vulnerability
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-40961?
CVE-2026-40961 is a high-severity vulnerability in Apache Airflow, published on 1 Jun 2026.
Official 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.
Weakness: CWE-601
Which versions are affected by CVE-2026-40961?
4 open source packages ship an affected version, including apache-airflow and airflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-airflow PyPI | All versions | 3.2.2 |
apache-airflow PyPI | All versions | 3.2.2 |
apache-airflow PyPI | All versions | 3.2.2 |
airflow Bitnami | From 3.0.0 | 3.2.2 |
Products include Apache Airflow.
How do I fix CVE-2026-40961?
Upgrade apache-airflow to 3.2.2 or later.
Is CVE-2026-40961 being exploited?
There is no known exploitation of CVE-2026-40961 in the wild and no public exploit code.
Other vulnerabilities in Apache Airflow
- CVE-2020-13927 Apache Airflow's Experimental API Authentication Bypass
- CVE-2020-11978 Apache Airflow Command Injection
- CVE-2026-33264 Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()
- CVE-2023-25754 Apache Airflow: Privilege escalation using airflow logs
- CVE-2023-22884 Apache Airflow, Apache Airflow MySQL Provider: Arbitrary file read via MySQL provider in Apache Airflow
Sources
Also known as BIT-airflow-2026-40961, ECHO-0b68-dcb2-e1b4, GHSA-6hcw-qqr8-pjj8, MINI-w755-953p-44ww, MINI-x5c9-m3mg-8pm3, PYSEC-2026-2345.