CVE-2026-40961
Analyzed Analyzed - Analysis Complete
Open Redirect Vulnerability in Apache Airflow

Publication date: 2026-06-01

Last updated on: 2026-06-02

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-02
Generated
2026-06-21
AI Q&A
2026-06-01
EPSS Evaluated
2026-06-20
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
apache airflow From 3.0.0 (inc) to 3.2.2 (exc)
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 Quick Actions
Instant insights powered by AI
Detection Guidance

The provided information does not include specific detection methods or commands to identify this vulnerability on a network or system.

Compliance Impact

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

Executive Summary

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.

Impact Analysis

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.

Mitigation Strategies

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.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40961. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart