Skip to content
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.

GitHub advisory

Affected versions

PackageAffectedFixed in
apache-airflow
PyPI
< 3.2.23.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

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.