CVE-2026-40961: CWE-601: URL Redirection to Untrusted Site (Open Redirect) in Apache Software Foundation Apache Airflow
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 Analysis
Technical Summary
This vulnerability involves a flaw in the login redirect route of Apache Airflow 3.0.0 where the is_safe_url validation can be bypassed by authenticated users. This enables an open redirect attack (CWE-601), allowing redirection from a trusted Airflow domain to an untrusted, attacker-controlled origin. The issue is fixed in Apache Airflow 3.2.2 and later versions. Deployment operators are recommended to implement reverse proxy rules to remove off-domain next= parameters as an additional mitigation.
Potential Impact
The vulnerability allows authenticated users to craft URLs that redirect users from the trusted Airflow domain to attacker-controlled sites. This can facilitate phishing or other social engineering attacks by leveraging the trusted domain. There is no indication of known exploits in the wild. The impact is limited to authenticated users and relies on redirecting users to malicious sites.
Mitigation Recommendations
Users should upgrade to Apache Airflow version 3.2.2 or later, where this vulnerability is fixed. As a defense-in-depth measure, deployment operators can configure a reverse proxy to strip off-domain next= query parameters before they reach the login endpoint. Patch status is not explicitly confirmed in the vendor advisory, but the upgrade recommendation indicates an official fix is available in 3.2.2+. No other mitigation or no-action statements are provided.
CVE-2026-40961: CWE-601: URL Redirection to Untrusted Site (Open Redirect) in Apache Software Foundation Apache Airflow
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a flaw in the login redirect route of Apache Airflow 3.0.0 where the is_safe_url validation can be bypassed by authenticated users. This enables an open redirect attack (CWE-601), allowing redirection from a trusted Airflow domain to an untrusted, attacker-controlled origin. The issue is fixed in Apache Airflow 3.2.2 and later versions. Deployment operators are recommended to implement reverse proxy rules to remove off-domain next= parameters as an additional mitigation.
Potential Impact
The vulnerability allows authenticated users to craft URLs that redirect users from the trusted Airflow domain to attacker-controlled sites. This can facilitate phishing or other social engineering attacks by leveraging the trusted domain. There is no indication of known exploits in the wild. The impact is limited to authenticated users and relies on redirecting users to malicious sites.
Mitigation Recommendations
Users should upgrade to Apache Airflow version 3.2.2 or later, where this vulnerability is fixed. As a defense-in-depth measure, deployment operators can configure a reverse proxy to strip off-domain next= query parameters before they reach the login endpoint. Patch status is not explicitly confirmed in the vendor advisory, but the upgrade recommendation indicates an official fix is available in 3.2.2+. No other mitigation or no-action statements are provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-16T01:04:38.929Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e71e29bf47b50cd4963
Added to database: 6/1/2026, 9:18:41 AM
Last enriched: 6/1/2026, 9:49:02 AM
Last updated: 6/2/2026, 5:03:04 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.