CVE-2026-40948: The Keycloak authentication manager in `apache-airflow-providers-keycloak` did not generate or validate the OA
CVE-2026-40948 is a medium-severity flaw (CVSS 5.4) affecting apache-airflow-providers-keycloak. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 subsequ
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 66%) |
| CISA exploited list | No |
| Weakness | CWE-352 |
| Published | 2026-04-18 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40948?
apache-airflow-providers-keycloak: upgrade to 0.7.0. Exact commands for each OS are on this page.
Is CVE-2026-40948 being exploited?
CVE-2026-40948 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40948 affect?
CVE-2026-40948 affects apache-airflow-providers-keycloak. Severity is medium (CVSS 5.4). 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 sam
How urgent is CVE-2026-40948?
Priority 32/100. On your watchlist
Software pages
Keycloak vulnerabilities · Apache Airflow vulnerabilities