Skip to main content

Apache Airflow CVE-2026-86473

| EUVDEUVD-2026-83945 CRITICAL
Insufficient Session Expiration (CWE-613)
2026-09-21 apache GHSA-9cmm-29p3-73gr
9.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Obtain copy of victim's bearer token (out of scope)
  2. Delivery
    Victim logs out via Authorization header
  3. Exploit
    Endpoint returns success but revokes nothing
  4. Execution
    Attacker reuses still-valid JWT
  5. Impact
    Retain victim-level API access until token expiry

Vulnerability Assessment

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

Applies only to Apache Airflow (3.0.0 through <3.3.2) API clients that authenticate with an Authorization: Bearer header instead of the browser _token session cookie. The exploit's hard prerequisite is that the attacker already holds a copy of a valid token - token theft is explicitly out of scope of this issue. Exploitation gains no privileges beyond the victim's own; the effect is limited to keeping an already-held token alive until its natural expiry (default 24h, configurable). Cookie-based browser sessions are unaffected because those tokens were correctly revoked. This is a persistence-window flaw, not an initial-access vector.

Impact

The vendor (Apache) CVSS of 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) substantially overstates real-world risk for this CWE-613 insufficient-session-expiration flaw. The description itself states the decisive limiting condition: the attacker MUST already possess a copy of a valid bearer token, and 'obtaining one is outside the scope of this issue,' and 'no privileges beyond the victim's own are gained.' That is inconsistent with PR:N/AC:L: the exploit is entirely predicated on a prior token compromise, so this is post-compromise persistence, not initial access - the CVSS vector treats the precondition as free, which inflates the score. No EPSS score, no CISA KEV entry, and no public exploit were provided, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The genuine impact is a bounded window: a stolen token that should have been revoked at logout instead stays valid until natural expiry (default 24h, configurable), letting an attacker who already had access retain it. This is a real correctness/hardening defect worth patching but is a moderate-severity issue, not the near-critical 9.1 the vendor assigned. Note also the 'Information Disclosure' tag mischaracterizes the flaw, which is a session-lifecycle/logout-revocation defect rather than data exposure.

Exploit ScenarioDerived

An attacker who has already stolen or copied a victim's Airflow API bearer token (via a separate compromise - out of scope here) continues using it after the victim logs out. Because the victim called the logout endpoint with an Authorization: Bearer header rather than the _token cookie, Airflow returned a success response but never revoked the JWT, so the stolen token keeps working for up to its 24-hour lifetime. No public exploit code was provided; the mechanism is confirmed by the PR #72649 diff and added regression tests.

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

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

Alert me

AnalysisAIv2 – Sep 21, 2026

Logout on the Apache Airflow Core API revokes only the _token browser session cookie and silently ignores a credential presented as an Authorization: Bearer header, so an API client that logs out with a bearer token receives the endpoint's normal logout response while its JWT is never invalidated and remains usable until natural expiry (24 hours by default, configurable). Only deployments running Airflow 3.0.0 through 3.3.2 whose API clients authenticate with bearer tokens rather than the browser cookie are affected, and the hard prerequisite is that the attacker already holds a copy of that valid token - obtaining it is explicitly outside the scope of this issue, and no privileges beyond the victim's own are gained. No public exploit code has been identified at time of analysis; the vendor's CVSS 9.1 substantially overstates the exposure, and our independent assessment scores it 4.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) because the flaw only extends a session the attacker could already use, rather than granting new access.

Earlier versions of this analysis (1)
v1 Sep 21, 2026 - 15:05

Logout in Apache Airflow Core API versions before 3.3.2 silently fails to revoke the caller's credential when it is presented as an Authorization: Bearer header rather than the browser _token session cookie, returning a normal logout response while nothing is invalidated. The token therefore stays usable until its natural expiry, 24 hours by default and configurable, so an authenticated attacker who already holds a copy of that token keeps the victim's access after the victim has logged out and believes the session ended; no privileges beyond the victim's own are obtained and obtaining the token is outside the scope of this issue. There is no public exploit identified at time of analysis and no confirmed active exploitation - the flaw is assessed as low severity (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N) precisely because it is strictly gated on the attacker already possessing a valid token that this endpoint cannot mint or steal.

RemediationAI

Upgrade to apache-airflow 3.3.2 or later (vendor-released patch); the fix is the upstream change in https://github.com/apache/airflow/pull/72649, which makes logout revoke every credential presented rather than only the _token cookie, and correspondingly updates the generated OpenAPI spec for the logout path. Where upgrading is not immediately possible, the most direct compensating control is to treat bearer tokens as non-revocable and shrink the exposure window: set the JWT token lifetime configuration to the shortest value your API clients tolerate, accepting the trade-off of more frequent re-authentication and more load on any token-issuing or SSO endpoint. A stronger but blunt option is to rotate the token signing key, which instantly invalidates all outstanding JWTs including those of legitimate sessions and will force a fleet-wide re-login. Administrators should also audit for tokens used after a logout event, since the vulnerable behavior leaves no error signal, and should restrict network access to the Core API to trusted clients so a stolen token cannot be exercised from arbitrary locations. Because browser cookie-based logout is unaffected, encouraging or forcing interactive clients onto the cookie flow removes them from the exposure set, at the cost of breaking scripted bearer-header integrations.

Affected VersionsENISA

Apache Airflow 3.0.0 <3.3.2

Affected Packages

pypi apache-airflow fix: 3.3.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

Airflow's Core API is built on FastAPI, and its JWT authentication is layered: a token can arrive as the _token browser cookie, as an OAuth2 password-bearer form field, or as an Authorization: Bearer header handled by HTTPBearer/OAuth2PasswordBearer security schemes. Tokens carry a jti claim and server-side revocation is tracked through a RevokedToken store, so logout is supposed to terminate the session by revoking the presented token's jti before any redirect or cookie deletion. In the vulnerable code the logout handler read exactly one source - request.cookies.get(COOKIE_NAME_JWT_TOKEN) - and never inspected the bearer header, which is the documented way to call the API. This is CWE-613 (Insufficient Session Expiration): the session-termination routine used a narrower credential set than the session-establishment routine. The upstream fix introduces a collect_request_tokens helper that returns every distinct credential presented, in precedence order (bearer header, then OAuth2 token, then cookie), deduplicating as it goes, and changes logout to iterate over all of them; the generated OpenAPI v2 REST specification was also updated so the logout path advertises the OAuth2PasswordBearer and HTTPBearer security schemes. Because revocation is per-jti and the endpoint still returns its usual 307 redirect, a client logging out with a bearer token sees a successful logout while nothing is actually revoked - the failure is silent by design, not an error condition visible to the caller.

Know when Apache 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 LOW
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 4.8 MEDIUM

AC:H because exploitation depends on a prior out-of-scope token theft; impact limited to extending already-held victim access, so C:L/I:L and A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

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
Sep 21, 2026 - 19:28 vuln.today
v2 - CVSS changed
CVSS changed
Sep 21, 2026 - 19:22 NVD
9.1 (CRITICAL)
CVE Published
Sep 21, 2026 - 14:33 cve.org
LOW

DescriptionCVE.org

Apache Airflow: the Core API logout endpoint revokes only a session token presented as the _token cookie. When a client logs out presenting its credential as an Authorization bearer header instead, the endpoint returns its normal logout response but revokes nothing, so the token remains valid until it expires. An attacker who already holds a copy of that token keeps the victim's access after the victim has logged out and believes the session ended; the default token lifetime is 24 hours and is configurable.

Affects API clients that authenticate with a bearer token rather than the browser session cookie. The attacker must already possess a copy of a valid token; obtaining one is outside the scope of this issue, and no privileges beyond the victim's own are gained.

Users of apache-airflow are recommended to upgrade to apache-airflow version 3.3.2 or later, which fixes the 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 3.0.0 through 3.3.2 deployments using bearer-token API clients are affected by a logout flaw in the Core API: the JWT is not revoked and can remain usable until natural expiry, 24 hours by default. Leadership should care because an already-compromised API token may retain access after logout, extending the window for unauthorized API activity; however, the issue requires prior token possession, grants no privileges beyond the victim's own, and has no public exploit identified at time of analysis. Patch available per vendor advisory.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
Apache Airflow is a widely used data-orchestration platform, common in data teams but not ubiquitous
Data Quality
6 sources
Confidence: High

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.4%
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
Medium
Technical Impact
Total

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
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-2026-33264 CRITICAL
9.8 Jul 07

Remote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll

CVE-2026-68982 CRITICAL
9.8 Nov 09

Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'

CVE-2026-111421 HIGH
8.8 Nov 09

Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha

CVE-2026-67587 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i

CVE-2026-86829 HIGH
8.8 Nov 09

Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a

CVE-2026-58076 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i

CVE-2026-33858 HIGH
8.8 Apr 13

Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve

CVE-2026-30898 HIGH
8.8 Apr 18

Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv

CVE-2026-111395 HIGH
8.2 Nov 09

Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__

CVE-2025-54550 HIGH
8.1 Apr 15

Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w

CVE-2026-30911 HIGH
8.1 Mar 17

CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera

CVE-2026-113508 HIGH
7.5 Nov 09

Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf

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