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.
Published: 2026-09-16
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Privileges Escalation via Unbound Token
Action: Patch Now
AI Analysis

Impact

The vulnerability arises because the Airflow Keycloak authenticator separates the signed session token from the Keycloak access and refresh tokens, which are instead stored in separate, unauthenticated cookies. When a user logs in, Airflow takes the session identity from the signed token but uses the tokens from the cookies to make authorization decisions, without verifying that the cookie tokens correspond to the same subject. As a result, an authenticated user who also has a foreign Keycloak access or refresh token can pair their own session with the foreign token. Based on the description, the likely attack vector is manipulating the unauthenticated cookie to supply a foreign Keycloak token, allowing the system to honor the foreign privileges while the audit logs and session name continue to reference the attacker’s account.

Affected Systems

The flaw impacts any Airflow deployment using version 3.3 or newer with the apache-airflow‑providers‑keycloak package configured to use the Keycloak authentication manager. All users of this provider that rely on cookie‑supplied Keycloak tokens are affected. Deployments running Airflow before 3.3 embed the Keycloak tokens inside the signed session token, so these earlier releases are not impacted by this issue.

Risk and Exploitability

Although the EPSS score is less than 1%, the vulnerability enables a straightforward privilege escalation that does not require special network or privilege exploits. The attacker only needs a valid Airflow login for themselves and an additional Keycloak token for another user, which can be obtained through token leakage or social engineering. The lack of token binding means that the mismatch survives session refreshes, effectively allowing the attacker to perform actions with the foreign user’s permissions while remaining logged in as themselves. The vulnerability is not listed in CISA KEV, but its impact on confidentiality, integrity and availability could be substantial, especially in multi‑tenant environments that rely on Keycloak for role‑based access control.

Generated by OpenCVE AI on September 16, 2026 at 15:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the apache‑airflow‑providers‑keycloak package to version 0.10.0 or newer, which re‑binds the cookie‑supplied tokens to the Airflow session identity.
  • If an upgrade cannot be performed immediately, force all users to log out, clear all Keycloak cookies, and re‑authenticate to invalidate any foreign tokens that may exist.
  • Consider temporarily disabling the Keycloak authentication manager or reverting to a pre‑3.3 Airflow release that embeds tokens within the signed session.
  • Monitor cookie usage and audit logs for anomalous token activity that may indicate privilege escalation attempts.

Generated by OpenCVE AI on September 16, 2026 at 15:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 16 Sep 2026 15:00:00 +0000


Wed, 16 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
References

Wed, 16 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title Apache Airflow Keycloak provider: Keycloak token cookies not bound to Airflow session identity
Weaknesses CWE-565
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-16T14:54:39.000Z

Reserved: 2026-08-19T10:41:19.914Z

Link: CVE-2026-76186

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-16T10:16:52.793

Modified: 2026-09-16T19:08:00.110

Link: CVE-2026-76186

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-16T15:30:11Z

Weaknesses
  • CWE-565

    Reliance on Cookies without Validation and Integrity Checking