Advisory record · GHSA-5w6h-pjw6-wvc6

apache-airflow-providers-keycloak: Missing OAuth 2.0 State and PKCE Enables Login CSRF and Session Fixation

CVSS 5.4 MediumEPSS 0.0040 · 35th percentile

Published by the GitHub Advisory Database at 18 Apr 2026, 15:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
apache-airflow-providers-keycloakPyPI>=0.0.1, <0.7.00.7.0
Identifiers
GHSA-5w6h-pjw6-wvc6 · CVE-2026-40948 · PYSEC-2026-2369
Weakness (CWE)
CWE-352
Published
18 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The apache-airflow-providers-keycloak package is vulnerable in versions before 0.7.0. The Keycloak authentication manager did not generate or validate the OAuth 2.0 state parameter and did not use PKCE during login. An attacker with a Keycloak account in the same realm could send a crafted callback URL to a victim, logging the victim into the attacker's Airflow session, where credentials the victim later stores in Airflow Connections could be captured. Upgrade to version 0.7.0 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0040, the 35th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:02 UTC First seen by agentprime
  2. 31 Oct 2026, 15:02 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.