# CVE-2026-40961: Apache Airflow: Open Redirect Bypass Vulnerability

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-01 · Modified: 2026-11-03
- Aliases: GHSA-6hcw-qqr8-pjj8, BIT-airflow-2026-40961, PYSEC-2026-2345, CGA-mm3g-m26m-rq37, CGA-mwx7-538m-mvq9, CGA-qj5h-p9j4-w7m7, CGA-v5p8-gg3c-9pj9
- Record: https://cvemate.com/vulnerability/CVE-2026-40961 · JSON: https://cvemate.com/vulnerability/CVE-2026-40961/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.606%, percentile 50.459%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache airflow: ≥ 3.0.0, \< 3.2.2
- apache airflow: ≥ 3.0.0, \< 3.2.2
- chainguard airflow-2 (Chainguard): All versions (No fix recorded) \| \< 2.11.2-r28
- chainguard airflow-core-2 (Chainguard): All versions (No fix recorded)
- PyPI apache-airflow (PyPI): \< 3.2.2 \| ≥ 3.0.0b3, \< 3.2.2

## 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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40961>
- <https://github.com/apache/airflow>
- <https://pypi.org/project/apache-airflow>
- <https://github.com/advisories/GHSA-6hcw-qqr8-pjj8>
- <https://pypi.python.org>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40961.json>
- <https://github.com/apache/airflow/commit/555f35576e3143dec65a7fb9acd95891841b45f2>
- <https://github.com/apache/airflow/commit/bfd1881fa0cb1193f49dbac72d7462e66aaf8f25>
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2345.yaml>

---

Data as of 2026-12-05T07:39:34.006Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
