CVE-2026-40948

Apache Airflow Providers Keycloak: OAuth Login CSRF — Missing State Parameter in Keycloak Auth Manager

MEDIUM
5.4
CVSS Score
Published: April 18, 2026 at 01:22 PM UTC
Updated: October 25, 2026 at 11:10 PM UTC
1 product affected across 1 vendorApache Airflow Providers Keycloak

Using Apache Airflow by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Airflow - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.0.1 ≤ v < 0.7.00.0.1
Affected range stops below 0.7.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

PatchIssue Tracking
Source: cverecord
https://github.com/apache/airflow/pull/64114
Vendor AdvisoryMailing List
Source: cverecord
https://lists.apache.org/thread/kc0odpr70hbqhdb9ksnz42fkqz2xld9q
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/04/17/14

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-352

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card