CVE-2026-40961 Apache Airflow: Open Redirect Bypass Vulnerability

High 7.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-40961?

CVE-2026-40961 is a high-severity vulnerability in Apache Airflow, published on 1 Jun 2026.

Official 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.

Weakness: CWE-601

Which versions are affected by CVE-2026-40961?

4 open source packages ship an affected version, including apache-airflow and airflow. It affects 1 product.

PackageAffectedFixed in
apache-airflow PyPIAll versions3.2.2
apache-airflow PyPIAll versions3.2.2
apache-airflow PyPIAll versions3.2.2
airflow BitnamiFrom 3.0.03.2.2

Products include Apache Airflow.

How do I fix CVE-2026-40961?

Upgrade apache-airflow to 3.2.2 or later.

Is CVE-2026-40961 being exploited?

There is no known exploitation of CVE-2026-40961 in the wild and no public exploit code.

All Apache Airflow vulnerabilities

Sources

Also known as BIT-airflow-2026-40961, ECHO-0b68-dcb2-e1b4, GHSA-6hcw-qqr8-pjj8, MINI-w755-953p-44ww, MINI-x5c9-m3mg-8pm3, PYSEC-2026-2345.

Is CVE-2026-40961 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free