CVE-2026-40961: A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed th
CVE-2026-40961 is a high-severity flaw (CVSS 7.2) affecting airflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 l
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 49%) |
| CISA exploited list | No |
| Weakness | CWE-601 |
| Published | 2026-06-01 |
| Last modified | 2026-07-21 |
Last updated 2026-07-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40961?
airflow: upgrade to 3.2.2. Exact commands for each OS are on this page.
Is CVE-2026-40961 being exploited?
CVE-2026-40961 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40961 affect?
CVE-2026-40961 affects airflow. Severity is high (CVSS 7.2). 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 u
How urgent is CVE-2026-40961?
Priority 48/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Apache Airflow vulnerabilities
Related CVEs
- CVE-2026-33858 HIGH 8.8 UPGRADE Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload
- CVE-2026-32690 LOW 3.7 UPGRADE Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retri
- CVE-2026-30898 HIGH 8.8 UPGRADE An example of BashOperator in Airflow documentation suggested a way of passing dag_run.conf in the way that co
- CVE-2026-30912 HIGH 7.5 UPGRADE In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" wa
- CVE-2026-32228 HIGH 7.5 UPGRADE UI / API User with asset materialize permission could trigger dags they had no access to. Users are advised to