CVE-2026-40961Apache Airflow
High 7.2 No auth needed
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.2
- EPSS
- —
- Auth required
- No
- Published
- Jun 1, 2026
- Updated
- Nov 3, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Airflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow |
≥ 3.0.0b3 < 3.2.2 |
3.2.2 |
pip install "apache-airflow>=3.2.2" |
| PyPI | apache-airflow |
< 3.2.2 |
3.2.2 |
pip install "apache-airflow>=3.2.2" |
Per OSV / GitHub Advisories (GHSA-6hcw-qqr8-pjj8, PYSEC-2026-2345). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | ≥ 3.0.0 < 3.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory