CVE-2026-76186Apache-airflow-providers-keycloak
Privilege escalation in Apache Airflow Keycloak provider due to token unbinding
Critical 9.1 No auth needed
Follow: this CVE · Apache · Apache-airflow-providers-keycloak We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 16, 2026
- Updated
- Sep 18, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-565
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
The Keycloak provider in Apache Airflow 3.3+ stores access and refresh tokens in unauthenticated cookies without verifying they match the user identity in the signed session. An attacker with valid Airflow credentials can obtain another user's Keycloak tokens and pair them with their session, causing Airflow to authorize requests with foreign privileges while maintaining the attacker's identity in audit logs. This mismatch persists across sessions.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.10.0
Upgrade apache-airflow-providers-keycloak to version 0.10.0 or later, which binds cookie-supplied tokens to the session identity.
- Apply the vendor's security update for Apache-airflow-providers-keycloak.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | apache-airflow-providers-keycloak | < 0.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Vendor Advisory
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Vendor Advisory