CVE-2026-40961
Received Received - Intake
Open Redirect Vulnerability in Apache Airflow

Publication date: 2026-06-01

Last updated on: 2026-06-01

Assigner: Apache Software Foundation

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-01
Generated
2026-06-01
AI Q&A
2026-06-01
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
apache apache_airflow From 3.2.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-601 The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The provided information does not specify how this vulnerability impacts compliance with common standards and regulations such as GDPR or HIPAA.


Can you explain this vulnerability to me?

This vulnerability in Apache Airflow involves a flaw in the login redirect route where authenticated users could craft URLs that bypass the `is_safe_url` check.

Specifically, the issue was that URLs containing triple forward slashes (`///`) or similar special character prefixes were treated as safe due to how the JavaScript URL constructor parses URLs according to WHATWG standards.

This allowed attackers to redirect users from a trusted Airflow domain to an attacker-controlled origin.


How can this vulnerability impact me? :

The vulnerability can lead to malicious redirection attacks where users are redirected from the trusted Airflow domain to potentially harmful external sites controlled by attackers.

This could be exploited to perform phishing attacks, steal user credentials, or deliver malicious payloads by tricking users into trusting the redirected URL.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, users are advised to upgrade Apache Airflow to version 3.2.2 or later.

As a defense-in-depth measure, deployment operators can place Airflow behind a reverse proxy that strips off-domain 'next=' query parameters before they reach the login endpoint.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart