Skip to main content

Airflow CVE-2025-57735

| EUVDEUVD-2025-209371 CRITICAL
Insufficient Session Expiration (CWE-613)
2026-04-09 security@apache.org GHSA-c92r-g8j5-vhcx
9.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Intercept valid JWT via network sniffing or XSS
  2. Delivery
    Wait for legitimate user logout
  3. Exploit
    Replay captured token in REST API requests
  4. Execution
    Access Airflow workflows and credentials
  5. Impact
    Maintain access until token expiration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires the attacker to first obtain a valid JWT token through interception, which depends on: deployment of Airflow over HTTP rather than HTTPS (enables passive network sniffing), access to the same network segment as authenticated users (for MITM or ARP spoofing attacks), presence of XSS vulnerabilities in Airflow or co-hosted applications (enables JavaScript-based token theft from browser storage), or physical/remote access to client devices where tokens are cached in browser memory or disk. The vulnerability itself does NOT create a token bypass - attackers MUST possess a legitimately issued token. Exploitation is LIMITED by: the JWT's built-in expiration time (default varies by Airflow configuration, typically 30-120 minutes), requirement for the user to have successfully authenticated before logout (cannot exploit tokens that were never issued), and network positioning to intercept tokens (purely remote attackers without network access cannot exploit without a separate token-stealing vulnerability). Organizations using HTTPS exclusively and network segmentation significantly reduce the attack surface, though insider threats or device compromise remain viable vectors.

Impact

The CVSS 9.1 (Critical) score reflects a theoretical worst-case scenario: network-accessible (AV:N), low complexity (AC:L), no authentication required (PR:N), no user interaction (UI:N), with high confidentiality and integrity impact. However, this rating is MISLEADING because exploitation requires the attacker to first INTERCEPT a valid JWT token - the vulnerability does NOT create tokens out of thin air. Real-world risk depends heavily on whether an attacker can obtain tokens via network sniffing (requires non-HTTPS deployment, rare in production), XSS attacks (separate vulnerability), or compromised client devices. The EPSS score of 0.01% (3rd percentile) and SSVC assessment (exploitation: none, automatable: yes, technical impact: partial) provide crucial context: despite the high CVSS, there is no evidence of active exploitation, and the attack requires a prerequisite step (token interception) not reflected in the CVSS vector's PR:N designation. The PR:N rating appears to assume the attacker already possesses the token, but obtaining that token IS a privilege requirement in practical terms. For organizations using HTTPS (industry standard), not exposing Airflow to untrusted networks, and without concurrent XSS vulnerabilities, real-world exploitability is significantly lower than the CVSS suggests. Organizations with Airflow exposed to public networks, using HTTP, or with shared client devices face elevated risk. CRITICAL DATA CONFLICT: CVSS PR:N contradicts the description's implicit requirement that attackers must first intercept valid tokens - verify whether 'no privileges required' assumes token possession or refers to a separate bypass vector.

Exploit ScenarioDerived

An attacker positions themselves on the same network as an Airflow administrator (via compromised WiFi, man-in-the-middle on corporate network, or malicious browser extension on a shared workstation) and captures the JWT token from an authenticated session through packet sniffing of HTTP traffic or extraction from browser local storage. After the administrator logs out of Airflow, believing the session is terminated, the attacker replays the captured JWT in API requests to Airflow's REST endpoints. The token remains valid until its expiration timestamp, allowing the attacker to trigger workflow DAGs, access sensitive connection credentials stored in Airflow, or modify pipeline configurations. No public proof-of-concept code identified, but token replay is a well-understood attack technique requiring only basic HTTP client tools like curl or Postman.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Apr 17, 2026

Apache Airflow 3.0.0 through 3.1.x fails to invalidate JWT tokens at logout, allowing intercepted tokens to remain valid for unauthorized API access. This session management weakness enables replay attacks against the workflow orchestration platform's REST API. No active exploitation confirmed (EPSS 3rd percentile), but SSVC rates as automatable with partial technical impact. Vendor-released patch: Apache Airflow 3.2.0.

Earlier versions of this analysis (1)
v1 Apr 09, 2026 - 11:22 CVSS 9.1

JWT token reuse vulnerability in Apache Airflow 3.0.0 through 3.1.x allows unauthenticated remote attackers to impersonate authenticated users by intercepting and replaying tokens after legitimate logout. The framework failed to invalidate JWT authentication tokens during user logout operations, enabling session persistence beyond intended termination. Attackers with network access to intercept tokens can achieve unauthorized access to high-integrity operations. EPSS indicates low observed exploitation activity; no public exploit identified at time of analysis.

RemediationAI

Upgrade to Apache Airflow 3.2.0 or later, which implements JWT token invalidation at logout via changes in GitHub pull requests 56633 and 61339. Before patching, implement compensating controls: reduce JWT token expiration times to minimize the replay window (edit airflow.cfg webserver.access_token_expiration to 600 seconds or less, noting this requires users to re-authenticate more frequently), enforce HTTPS for all Airflow web interfaces to prevent passive token interception (configure webserver.web_server_ssl_cert and web_server_ssl_key), restrict network access to Airflow's webserver port (default 8080) to trusted IP ranges via firewall rules (reduces token exposure surface but does not prevent replay attacks from allowed networks), and implement short-lived refresh tokens if customizing authentication (requires code changes and operational complexity). Monitor for anomalous API access patterns such as simultaneous sessions from different IP addresses or access after logout events in webserver logs. Note that reducing token expiration creates operational friction for legitimate users who must authenticate more frequently. No workaround fully mitigates the issue; upgrade to 3.2.0 is the only complete fix. Advisory: https://lists.apache.org/thread/ovn8mpd8zkc604hojt7x3wsw3kc60x98.

Affected VersionsENISA

Apache Airflow 3.0.0 <3.2.0

Affected Packages

pypi apache-airflow fix: 3.2.0

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 workflow orchestration platform that uses JWT (JSON Web Token) authentication for its REST API. The vulnerability stems from improper session termination (CWE-613: Insufficient Session Expiration). When users authenticated to Airflow's web interface and logged out, the application failed to add the JWT to a revocation list or otherwise mark it as invalid. JWTs are cryptographically signed tokens that typically include an expiration timestamp but no server-side state. Without explicit invalidation mechanisms like token blacklisting or database-backed session tracking, a valid JWT remains usable until its built-in expiration time passes. The affected CPE (cpe:2.3:a:apache:airflow) covers versions 3.0.0 through 3.1.x. Airflow 3.2.0 introduced a token invalidation mechanism, likely implemented via the referenced GitHub pull requests 56633 and 61339, which may use Redis-backed token blacklisting, database session tables, or JTI (JWT ID) tracking to prevent reuse of logged-out tokens.

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 (apache) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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

CVSS VectorVendor: apache

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

Lifecycle Timeline

3
Analysis Updated
Apr 17, 2026 - 13:12 vuln.today
v2 - CVSS changed
Patch released
Apr 10, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 09, 2026 - 11:16 nvd
CRITICAL 9.1

DescriptionCVE.org

When user logged out, the JWT token the user had authtenticated with was not invalidated, which could lead to reuse of that token in case it was intercepted. In Airflow 3.2 we implemented the mechanism that implements token invalidation at logout. Users who are concerned about the logout scenario and possibility of intercepting the tokens, should upgrade to Airflow 3.2+

Users are recommended to upgrade to version 3.2.0, which fixes this issue.

Blast Radius

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

Ecosystem-wide dependent count for version 3.0.0.

Executive ViewAI

Why It Matters

Apache Airflow versions 3.0.0 through 3.1.x contain a critical session management flaw where JWT tokens remain valid after user logout, enabling attackers with intercepted credentials to maintain unauthorized API access to workflow orchestration systems. Organizations running affected Airflow versions face risk of persistent unauthorized access to sensitive data pipelines and operational workflows, particularly in environments where tokens may be exposed through logs, network captures, or compromised systems.

Business Impact: High
Compensating Controls

Apply vendor patch: Apache Airflow 3.2.0. If immediate patching is not feasible: implement network-level API gateway with token revocation lists (blacklist/denylist) that intercepts and validates JWT tokens independent of Airflow; enforce short-lived token expiration (< 15 minutes) with mandatory re-authentication; implement continuous monitoring and alerting on token usage patterns post-logout; restrict Airflow API access to internal networks only pending patch deployment.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-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-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-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-2026-82311 CRITICAL
9.8 Sep 15

Insufficient session expiration in apache-airflow-providers-fab 2.4.2 through 3.9.0 means an attacker who already holds

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2023-25754 CRITICAL
9.8 May 08

Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.6.0. Rated critical severit

CVE-2023-22884 CRITICAL
9.8 Jan 21

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Fou

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

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