Apache Software Foundation Apache Airflow Keycloak provider
Apache Airflow Keycloak provider: Any realm client's credentials mint an Airflow session JWT
Apache Airflow Keycloak provider: the unauthenticated token endpoint accepts a client-credentials grant for any confidential client registered in the Keycloak realm, not only the client configured for Airflow. No allowlist restricts which client ids may authenticate, so the credentials of an unrelated application that happens to share the realm are valid Airflow login credentials, and Airflow mints a signed session token for that application's service account. The endpoint also answers unauthenticated credential guesses against Keycloak under Airflow's identity. Affects deployments using the Keycloak auth manager whose realm is shared with other confidential clients. The attacker needs valid credentials for any one of those clients, not for Airflow. Resource authorization is still evaluated per subject, so the access gained is whatever that service account holds, plus any endpoint gated only on being authenticated. Users of apache-airflow-providers-keycloak are recommended to upgrade to version 0.10.0 or later, which accepts only the configured client on that grant.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.10.0
Fixed in 0.10.0
Mitigation
Upgrade Apache Airflow Keycloak provider to 0.10.0 or later.
References
- Patch github.com/apache/airflow/pull/72205
- Vendor advisory lists.apache.org/thread/j1b9ddljxphqvoc41z7gthj4zh34…
- Vendor advisory lists.apache.org/thread/5cqh5ojl3718ogb0q1dcd9vdr47z…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.