Apache Airflow: Open Redirect Bypass Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow | 3.0.0 to before 3.2.2 | 3.2.2 | Patch available | CNA |
| — | apache-airflow (PyPI) | 3.0.0b3 to before 3.2.2 | 3.2.2 | Patch available | GHSA-6hcw-qqr8-pjj8 |
- Apache Airflow VendorApache Affected 3.0.0 to before 3.2.2 Fixed in 3.2.2 Patch available CNA
- apache-airflow (PyPI) Vendor— Affected 3.0.0b3 to before 3.2.2 Fixed in 3.2.2 Patch available GHSA-6hcw-qqr8-pjj8
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.2.2
- Fix · GHSA-6hcw-qqr8-pjj8 apache-airflow (PyPI) Fixed in 3.2.2 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 3.2.2
17 records Highest priority Priority MEDIUM 3 MEDIUM, 14 LOW
Other records, highest priority first
- TI-2026-30568 Apache Airflow: BashOperator Jinja2 injection via dag_run.conf — low-privilege user patternPriority MEDIUM 47
- TI-2026-36484 Apache Airflow: JWT Token Exposure in KubernetesExecutor Command-Line ArgumentsPriority MEDIUM 41
- TI-2026-30661 Apache Airflow: Authenticated RCE via XCom PATCH endpoint — XComUpdateBody missing FORBIDDEN_XCOM_KEYS validatorPriority MEDIUM 41
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40961
- 2026-10-03 Alias added: GHSA-6hcw-qqr8-pjj8
- 2026-11-02 Affected versions changed · GHSA-6hcw-qqr8-pjj8
- 2026-11-02 4 new references · GHSA-6hcw-qqr8-pjj8
- 2026-11-03 Fix available: [email protected] · CNA
References
Advisory 3
Other 5
- https://github.com/apache/airflow/commit/555f35576e3143dec65a7fb9acd95891841b45f2
- https://github.com/apache/airflow/commit/bfd1881fa0cb1193f49dbac72d7462e66aaf8f25
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2345.yaml
- https://pypi.org/project/apache-airflow
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2026-40961 · CVE Program
- CVE-2026-40961 · NVD
- FIRST EPSS
- GHSA-6hcw-qqr8-pjj8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences