CVE-2026-40961

7.2 HIGH
Published: June 01, 2026 Modified: June 02, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/apache/airflow/pull/65557
Source: security@apache.org
Issue Tracking Patch
https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q
Source: security@apache.org
Mailing List Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/05/31/2
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.2 / 10.0
EPSS (Exploit Probability)
0.6%
45th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

apache