Skip to main content
VulnerabilityPublished Updated

CVE-2026-40948: Apache Airflow Providers Keycloak · Cross-Site Request Forgery (CSRF)

Affects Apache Airflow Providers KeycloakSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.4 Medium : upgrade to 0.7.0 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.7.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade Apache Airflow Providers Keycloak to 0.7.0.

Affected software

ProductAffectedFixed in
Apache Software FoundationApache Airflow Providers KeycloakAffected
  • >=0.0.1 <0.7.0
Fixed in
  • 0.7.0
PyPIapache-airflow-providers-keycloakpkg:pypi/apache-airflow-providers-keycloakOther threatsAffected
  • =0.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade the apache-airflow-providers-keycloak package to version 0.7.0 or later, where this vulnerability is addressed. Patch status is not explicitly confirmed in the vendor advisory, so users should verify the latest vendor guidance for official fixes. Until upgraded, users should be cautious of unsolicited or suspicious login callback URLs related to Keycloak authentication flows.

Description

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.

References

Community reviews

Loading reviews…