GHSA-vr7m-c6v4-8cx8
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim JWT cookie via interception or XSS
-
DeliveryVictim initiates Airflow logout
-
ExploitExternal auth manager redirect bypasses revoke_token() call
-
ExecutionJWT remains valid in RevokedToken table
-
PersistReplay stolen token against Airflow REST API
-
ImpactExfiltrate DAG configs, connections, or variables
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 three concurrent conditions: (1) the Airflow deployment must use FabAuthManager or KeycloakAuthManager - or any auth manager whose get_url_logout() returns a non-None external URL - as this is the code path where revoke_token() was unreachable; (2) an attacker must have already obtained the victim's JWT cookie value prior to logout (e.g., via session hijacking, token logging, or XSS); and (3) the captured token must still be within its expiry window (exp claim) at time of use. Deployments using the default auth manager with no external logout URL are not affected because those code paths reached revoke_token() correctly. Authentication at PR:L is required - unauthenticated users cannot obtain a token at all. There is no browser interaction required from the victim beyond the legitimate logout action. |
| Impact | CVSS 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) correctly characterizes this as a network-exploitable, low-complexity issue requiring authenticated access (PR:L). The high confidentiality impact reflects that a post-logout token still grants full API read access scoped to the token holder's permissions. EPSS at 0.01% (4th percentile) and absence from CISA KEV together indicate no observed opportunistic or widespread exploitation. This is a real but narrow-window vulnerability: practical exploitation requires an attacker to have previously captured a victim's JWT cookie (e.g., via XSS, network interception, or log exposure) and then use it after the victim has logged out expecting invalidation. For organizations using Keycloak or other OIDC providers with Airflow, where users may expect logout to be definitive, this gap between expectation and behavior elevates residual risk. The fix is confirmed upstream; unpatched deployments with external auth managers carry meaningful residual exposure for any token with remaining TTL. |
| Exploit ScenarioDerived | An attacker who has stolen a logged-in user's JWT cookie - for example via network interception on a misconfigured deployment or a prior XSS - waits for the victim to click logout. In a Keycloak-backed Airflow deployment, the logout handler redirects to Keycloak's logout URL before revoking the token, leaving the captured JWT fully valid until its expiry. The attacker replays the token against the Airflow REST API to read DAG run data, connections, variables, or any resource the victim's role permitted. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
JWT session tokens remain valid after logout in Apache Airflow deployments using FabAuthManager or KeycloakAuthManager due to an unreachable revoke_token() call in the logout code path. Versions before 3.2.2 are affected. When the configured auth manager returns an external redirect URL on logout (as Keycloak-backed deployments do), the logout handler redirects the browser before invoking revoke_token(), leaving the JWT - with its embedded jti claim - unregistered in the RevokedToken table and therefore still accepted by the API. No public exploit is identified at time of analysis, and EPSS exploitation probability stands at 0.01% (4th percentile), but the impact is meaningful in environments where session hijacking or token theft is a realistic threat model.
RemediationAI
Upgrade Apache Airflow to version 3.2.2 or later, which contains the fix confirmed in upstream PR #67289. The patch reorders the logout handler to call auth_manager.revoke_token(token_str) before any redirect is issued, ensuring the token's jti is registered in the RevokedToken blocklist regardless of whether the auth manager redirects to an external IdP URL. The Apache advisory is at https://lists.apache.org/thread/630jg4z6cjkv4m2yv2ljgmf1zhdj1vqx. If immediate upgrade is not feasible and you are using an external auth manager with a logout redirect URL, a compensating control is to shorten JWT token TTL to the minimum operationally tolerable value in Airflow's configuration (api.access_token_lifetime_in_seconds), reducing the window during which a post-logout token remains valid. Note this trade-off: shorter TTLs increase re-authentication friction for users. Revoking session cookies server-side or deploying a reverse proxy that clears the JWT cookie on logout does not address the server-side RevokedToken gap and is not a sufficient standalone mitigation.
Affected VersionsENISA
Affected Packages
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's FastAPI-based REST API (airflow-core/src/airflow/api_fastapi/core_api/routes/public/auth.py) issues JWT access tokens stored as cookies, identified by a jti (JWT ID) claim. The RevokedToken mechanism is designed to blocklist tokens server-side upon logout, compensating for JWTs' inherent statelessness. CWE-613 (Insufficient Session Expiration) is the root cause class: the token's expiry was never actively enforced on logout when an external identity provider is involved. The defect arises specifically when get_url_logout() on FabAuthManager or KeycloakAuthManager returns a non-None redirect URL - the logout route performed a 307 redirect before reaching the revoke_token() call, rendering revocation dead code in those auth manager configurations. Affected versions span Apache Airflow 0 through 3.2.2 (exclusive) per EUVD-2026-33581 CPE data.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (CNA) · only source for this CVE.
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Blast Radius
ecosystem impact- 9 pypi packages depend on apache-airflow (5 direct, 4 indirect)
Ecosystem-wide dependent count for version 3.2.2.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th
An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them
In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
In Apache Airflow < 1.10.12, the "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XS
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
EUVD-2026-33581
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB