Skip to main content

Apache Airflow CVE-2026-40961

| EUVDEUVD-2026-33597 HIGH
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
7.2
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Airflow UI
  2. Delivery
    Craft URL with ///attacker.com redirect
  3. Exploit
    Deliver via phishing message
  4. Execution
    Victim clicks and authenticates
  5. Persist
    Browser follows bypassed redirect
  6. Impact
    Harvest credentials or session token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target organization to run Apache Airflow 3.0.0-3.2.1 with the FastAPI core API web UI reachable by the attacker (directly or via the victim's browser), and requires a victim user to click a crafted link containing a next-style redirect parameter beginning with ///, \\, /\, \/, or their URL-encoded equivalents (e.g., %5C%5C%5C%5C). No authentication to Airflow is required to craft or deliver the malicious URL (CVSS PR:N), but the realistic attack chain depends on victim interaction despite the CVSS UI:N rating, because the impact only materializes once a user follows the redirect. Deployments where the Airflow UI is not exposed to untrusted networks or where redirect parameters are stripped by an upstream proxy are not exploitable.

Impact

Signals diverge sharply on this CVE. CVSS 3.1 base score of 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) reflects a network-reachable, unauthenticated, scope-changing flaw with low confidentiality and integrity impact - typical of open-redirect-class issues that enable phishing or token theft against a different security authority (the user's browser session). However, EPSS is only 0.01% (4th percentile) and the CVE is not on the CISA KEV list, indicating no observed or predicted mass exploitation. The CVSS UI:N rating is somewhat optimistic for an open-redirect bug since real-world exploitation typically requires a victim to click a crafted link; treat this as a phishing/credential-theft enabler rather than a direct RCE risk. Prioritize patching where Airflow UIs are internet-exposed or used by privileged operators, but de-prioritize relative to other high-CVSS Airflow CVEs disclosed the same day (e.g., CVE-2026-40861 arbitrary file read).

Exploit ScenarioDerived

An attacker crafts a phishing email or chat message containing an Airflow login URL with a next=///attacker.com/login parameter pointing at the victim's internal Airflow instance. After the user authenticates, Airflow's redirect logic - which trusted the malformed prefix as a safe relative path - sends the browser to the attacker's lookalike domain, where session cookies or re-entered credentials are harvested. No public exploit code has been identified, but the PR diff and test cases provide a clear template for crafting working payloads.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 02, 2026

Open redirect bypass in Apache Airflow 3.0.0 through 3.2.1 allows remote unauthenticated attackers to craft URLs that evade the is_safe_url host check by using triple-slash (///), backslash, or URL-encoded backslash prefixes, redirecting victims to attacker-controlled domains. The flaw stems from a parsing inconsistency between WHATWG URL semantics and Python's urllib. No public exploit has been identified at time of analysis, and EPSS rates exploitation probability at only 0.01% (4th percentile).

RemediationAI

Vendor-released patch: upgrade to Apache Airflow 3.2.2 or later, which incorporates the fix from apache/airflow PR #65557 (https://github.com/apache/airflow/pull/65557) that decodes and rejects target URLs beginning with //, /\, \/, or \\. Review the vendor announcement at https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q before deployment. Where immediate upgrade is not possible, restrict access to the Airflow web UI behind a VPN or SSO-protected reverse proxy that enforces a strict allowlist of redirect destinations and strips/normalizes backslashes and multi-slash sequences from next/redirect query parameters before they reach Airflow - note this may break legitimate deep-linking flows that pass encoded URLs. As a user-side mitigation, train operators to inspect URLs before clicking links purporting to come from Airflow notifications.

Affected VersionsENISA

Apache Airflow 3.0.0 <3.2.2

Affected Packages

pypi apache-airflow fix: 3.2.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Airflow is a widely deployed Python-based workflow orchestration platform; the vulnerable code lives in airflow-core/src/airflow/api_fastapi/core_api/security.py within the FastAPI core API used for the web UI. The root cause is CWE-601 (URL Redirection to Untrusted Site) - the is_safe_url() validator relied on Python's urllib parsing, which treats ///host.com differently than the WHATWG URL standard implemented in browsers, where /// collapses to // and backslashes are normalized to forward slashes. As a result, payloads like ///attacker.com/prefix, \\attacker.com/prefix, or URL-encoded %5C%5C%5C%5Cattacker.com/prefix passed the safety check but were honored as external redirects by browsers. The upstream fix (apache/airflow PR #65557) URL-decodes the target and explicitly rejects strings beginning with //, /\, \/, or \\.

Know when Airflow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Primary rating from Vendor (CNA) · only source for this CVE.

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
CVSS changed
Jun 02, 2026 - 17:22 NVD
7.2 (HIGH)
Patch available
Jun 01, 2026 - 10:01 EUVD
CVE Published
May 31, 2026 - 12:45 nvd
HIGH 7.2
CVE Published
May 31, 2026 - 12:45 nvd
UNKNOWN (no severity yet)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 9 pypi packages depend on apache-airflow (5 direct, 4 indirect)

Ecosystem-wide dependent count for version 3.2.2.

Executive ViewAI

Why It Matters

Apache Airflow 3.0.0-3.2.1 contains an open redirect vulnerability allowing unauthenticated attackers to bypass URL validation and redirect users to attacker-controlled domains for phishing attacks. While current exploitation probability is assessed at 0.01%, the broad attack surface and credential theft risk require prioritized remediation across all affected instances.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2020-13927 CRITICAL POC
9.8 Nov 10

The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th

CVE-2020-11978 HIGH POC
8.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r

CVE-2021-38540 CRITICAL POC
9.8 Sep 09

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV

CVE-2022-40127 HIGH POC
8.8 Nov 14

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb

CVE-2022-24288 HIGH POC
8.8 Feb 25

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them

CVE-2022-45402 MEDIUM
6.1 Nov 15

In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2020-17526 HIGH POC
7.7 Dec 21

Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou

CVE-2020-11982 CRITICAL
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2020-13944 MEDIUM
6.1 Sep 17

In Apache Airflow < 1.10.12, the "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XS

CVE-2022-40189 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

CVE-2022-38649 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy