5.4

CVE-2026-40948: apache software foundation apache airflow providers keycloak Cross-Site Request Forgery (CSRF)

CVSS: 5.4v3.1MediumAnalyzed
AliasesGHSA-5w6h-pjw6-wvc6PYSEC-2026-2369
Published 18-04-2026Last modified 20-04-2026

Vulnerability summary

CVE-2026-40948 is a medium (CVSS 5.4) Cross-Site Request Forgery (CSRF) vulnerability in apache software foundation apache airflow providers keycloak. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 27.8% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 18-04-2026
    PublishedVulnerability first disclosed.
  2. 20-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

+0.03 pp

From 0.33% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Apache software foundation1 product
PyPI1 product
  • apache-airflow-providers-keycloak≥ 0.0.1, < 0.7.0

3 vendors · 3 products

References

7 links