cve.bz

CVE-2026-40948 apache apache-airflow-providers-keycloak: Cross Site Reference Forgery

5.4 mediumEPSS 0.4%Fix available

Medium (5.4) in apache apache-airflow-providers-keycloak. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in apache-airflow-providers-keycloak 0.7.0.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40948 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40948?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40948?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40948 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-40948

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-40948](https://cve.bz/cve/badge/CVE-2026-40948.svg)](https://cve.bz/cve/CVE-2026-40948)

HTML:

<a href="https://cve.bz/cve/CVE-2026-40948"><img src="https://cve.bz/cve/badge/CVE-2026-40948.svg" alt="CVE-2026-40948"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Airflow Providers Keycloakfrom 0.0.1 before 0.7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5w6h-pjw6-wvc6PyPIapache-airflow-providers-keycloak>=0.0.1 <0.7.00.7.0
PYSEC-2026-2369PyPIapache-airflow-providers-keycloak>=0.0.1 <0.7.00.7.0

Attack patterns (CAPEC)

  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON