7.2high
Apache Airflow: Open Redirect Bypass Vulnerability
- Severity
- 7.2high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-6hcw-qqr8-pjj8BIT-AIRFLOW-2026-40961PYSEC-2026-2345
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow-core | from 3.0.0 before 3.2.2 | CVE List |
| apache-airflow (PyPI) | from 3.0.0b3 before 3.2.2, before 3.2.2 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | from 3.0.0 before 3.2.2 | NVD |
| airflow (Bitnami) | from 3.0.0 before 3.2.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Un error en la ruta de redirección de inicio de sesión en Apache Airflow permitió a usuarios autenticados crear URLs que eludían la verificación 'is_safe_url', lo que permitía la redirección desde un dominio de Airflow de confianza a un origen controlado por un atacante. Se aconseja a los usuarios actualizar a 'apache-airflow' 3.2.2 o posterior. Como una mitigación de defensa en profundidad, los operadores de despliegue pueden colocar Airflow detrás de un proxy inverso que elimina los parámetros de consulta 'next=' fuera del dominio antes de que lleguen al punto final de inicio de sesión.
References
| https://github.com/apache/airflow/pull/65557 | fix, issue-tracking, patch, web | |
| https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/05/31/2 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-40961 | advisory, web | |
| https://github.com/apache/airflow/commit/555f35576e3143dec65a7fb9acd95891841b45f2 | web | |
| https://github.com/apache/airflow/commit/bfd1881fa0cb1193f49dbac72d7462e66aaf8f25 | web | |
| https://github.com/apache/airflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2345.yaml | web | |
| https://pypi.org/project/apache-airflow | package, web | |
| https://github.com/advisories/GHSA-6hcw-qqr8-pjj8 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40961 changed 2026-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6hcw-qqr8-pjj8 changed 2026-11-02 | CC-BY-4.0 |
| NVD | CVE-2026-40961 changed 2026-11-03 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2345 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2026-40961 changed 2026-09-08 | Apache-2.0 |