CVE
CVE-2026-76186
Apache Airflow Keycloak provider: Keycloak token cookies not bound to Airflow session identity
Severity
Critical
Base CVSS
9.1
Fixed in
209e34c5022a78c7691ac68a50f60d976242e17d,0.10.0rc1
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.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV
0
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Endor Labs
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Required action
Known ransomware campaign use
References
http://www.openwall.com/lists/oss-security/2026/09/15/8, https://pypi.python.org, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76186.json, https://lists.apache.org/thread/5cqh5ojl3718ogb0q1dcd9vdr47z7gp3, https://lists.apache.org/thread/5cqh5ojl3718ogb0q1dcd9vdr47z7gp3?users@airflow.apache.org, https://nvd.nist.gov/vuln/detail/CVE-2026-76186, https://github.com/apache/airflow/pull/72207
Basic information
Base CVSS
9.1
EPSS probability
0.0
EPSS percentile
0.57409
Introduced version
0,0.9.0rc1
Fix available
209e34c5022a78c7691ac68a50f60d976242e17d,0.10.0rc1
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.