CVE-2026-40948
mediumpriority · track · 0EPSS 0.004 · 35 %ileDEEUUSEPSS · scored 2026-10-28
The Keycloak authentication manager in `apache-airflow-providers-keycloak` did not generate or validate the OAuth 2.0 `state` parameter on the login / login-callback flow, and did not use PKCE. An attacker with a Keycloak account in the same realm could deliver a crafted callback URL to a victim's browser and cause the victim to be logged into the attacker's Airflow session (login-CSRF / session fixation), where any credentials the victim subsequently stored in Airflow Connections would be harvestable by the attacker. Users are advised to upgrade `apache-airflow-providers-keycloak` to 0.7.0 or later.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- apache apache-airflow-providers-keycloak0.0.1 → 0.7.0nvdUScpe:2.3:a:apache:apache-airflow-providers-keycloak:*:*:*:*:*:*:*:*
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1168Apache Airflow und Apache Airflow Keycloak Provider: Mehrere SchwachstellenDeutsch2026-04-19csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Apache Airflow und dem Airflow Keycloak Provider ausnutzen, um beliebigen Programmcode auszuführen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren und vertrauliche Informationen offenzulegen.
- WID-SEC-W-2026-4052Apache Airflow: Mehrere Schwachstellen ermöglichen Umgehen von SicherheitsvorkehrungenDeutsch2026-10-19csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Apache Airflow ausnutzen, um Sicherheitsvorkehrungen zu umgehen und Informationen offenzulegen.
- GHSA-5w6h-pjw6-wvc6apache-airflow-providers-keycloak: Missing OAuth 2.0 State and PKCE Enables Login CSRF and Session Fixation2026-04-18ghsa · osvUS
The Keycloak authentication manager in `apache-airflow-providers-keycloak` did not generate or validate the OAuth 2.0 `state` parameter on the login / login-callback flow, and did not use PKCE. An attacker with a Keycloak account in the same realm could deliver a crafted callback URL to a victim's browser and cause the victim to be logged into the attacker's Airflow session (login-CSRF / session fixation), where any credentials the victim subsequently stored in Airflow Connections would be harvestable by the attacker. Users are advised to upgrade `apache-airflow-providers-keycloak` to 0.7.0 or later.
- PYSEC-2026-2369apache-airflow-providers-keycloak: Missing OAuth 2.0 State and PKCE Enables Login CSRF and Session Fixation2026-07-13vendor · osvUS
The Keycloak authentication manager in `apache-airflow-providers-keycloak` did not generate or validate the OAuth 2.0 `state` parameter on the login / login-callback flow, and did not use PKCE. An attacker with a Keycloak account in the same realm could deliver a crafted callback URL to a victim's browser and cause the victim to be logged into the attacker's Airflow session (login-CSRF / session fixation), where any credentials the victim subsequently stored in Airflow Connections would be harvestable by the attacker. Users are advised to upgrade `apache-airflow-providers-keycloak` to 0.7.0 or later.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-40948cnnvd
- https://airflow.apache.org/Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-40948cnnvd
- https://github.com/apache/airflow/pull/64114enisa_euvd
- https://lists.apache.org/thread/kc0odpr70hbqhdb9ksnz42fkqz2xld9qenisa_euvd
- http://www.openwall.com/lists/oss-security/2026/04/17/14Mailing ListThird Party Advisorynvd
- https://github.com/apache/airflow/pull/64114Issue TrackingPatchnvd
- https://lists.apache.org/thread/kc0odpr70hbqhdb9ksnz42fkqz2xld9qMailing ListVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan