Advisory

GHSA-6hcw-qqr8-pjj8

Also known as: BIT-airflow-2026-40961, CVE-2026-40961, PYSEC-2026-2345

Summary

Apache Airflow: Authenticated users can bypass the is_safe_url check

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-01 09:31 UTC
Modified
2026-11-02 23:15 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 3.0.0b3, fixed 3.2.2 (ecosystem)

Fixed versions

3.2.2

Fix

  • Fixed version 3.2.2
    pip install --upgrade apache-airflow==3.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences