Apache Airflow Keycloak provider: Keycloak token cookies not bound to Airflow session identity
Summary
| CVE | CVE-2026-76186 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-16 10:16:52 UTC |
| Updated | 2026-09-16 10:16:52 UTC |
| Description | Apache Airflow Keycloak provider: from Airflow 3.3 the Keycloak auth manager takes a user's identity from the signed Airflow session token but takes the Keycloak access and refresh tokens used for every authorization decision from separate, unauthenticated cookies, and never checks that the two describe the same subject. A user who holds any valid Airflow login of their own, together with another subject's Keycloak access or refresh token obtained out of band, can pair the two: Airflow then authorizes requests with the foreign token's privileges while the session identity, audit log and cache keys continue to name the attacker's own account. The refresh path re-issues an Airflow session token for the original identity carrying the foreign tokens, so the mismatched pairing survives across sessions. Affects deployments running Airflow 3.3 or later with the Keycloak auth manager. Earlier versions carried the Keycloak tokens inside the signed session token, so the binding existed and was lost when they moved into separate cookies. Users of apache-airflow-providers-keycloak are recommended to upgrade to version 0.10.0 or later, which binds the cookie-supplied tokens to the session identity. |
Risk And Classification
Problem Types: CWE-565 | CWE-565 CWE-565: Reliance on Cookies without Validation and Integrity Checking in a Security Decision
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Airflow Keycloak Provider | affected 0.10.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.apache.org/thread/5cqh5ojl3718ogb0q1dcd9vdr47z7gp3 | [email protected] | lists.apache.org | |
| www.openwall.com/lists/oss-security/2026/09/15/8 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/apache/airflow/pull/72207 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Claude Security Scans (en)
CNA: Jarek Potiuk (en)
There are currently no legacy QID mappings associated with this CVE.