Apache AirflowGHSA-6hcw-qqr8-pjj8
Apache Airflow: Authenticated users can bypass the `is_safe_url` check
High7.2CVE-2026-40961 · Published Jun 1, 2026 · updated Jul 13, 2026
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | < 3.2.2 | 3.2.2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-601
- Also known as
- BIT-airflow-2026-40961, CVE-2026-40961, PYSEC-2026-2345
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 1 | Apache Airflow has no certificate validation on SMTP STARTTLS connections | Medium5.9 | 3.2.2 |
| Jun 1 | Apache Airflow has an Authorization Bypass Through User-Controlled Key | Medium4.3 | 3.2.2 |
| Jun 1 | Apache Airflow: Auth manager doesn't invalidate JWT tokens after users click logout | Medium6.5 | 3.2.2 |
| Jun 1 | Apache Airflow Vulnerable to Deserialization of Untrusted Data | High7.3 | 3.2.2 |
| Jun 1 | Apache Airflow Vulnerable to Exposure of Sensitive Information to an Unauthorized Actor | Medium6.5 | 3.2.2 |
| Jun 1 | Apache Airflow vulnerable to Improper Neutralization of Special Elements Used in a Template Engine | Critical9.1 | 3.2.2 |