Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40948: The Keycloak authentication manager in `apache-airflow-providers-keycloak` did not generate or validate the OA

32
Routine
MEDIUM 5.4WATCHLISTUPGRADE

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 score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.4% (top 66%)
CISA exploited listNo
WeaknessCWE-352
Published2026-04-18
Last modified2026-10-25
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache apache-airflow-providers-keycloak UPGRADE
Affected: >= 0.0.1 and < 0.7.0
Fixed in: 0.7.0
Safe to downgrade to: a release before 0.0.1
1. Check installed version
apt-cache policy apache-airflow-providers-keycloak || rpm -q apache-airflow-providers-keycloak || apache-airflow-providers-keycloak --version
2. UPGRADE to 0.7.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade apache-airflow-providers-keycloak
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade apache-airflow-providers-keycloak
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 0.0.1 (Debian / Ubuntu)
apt-cache madison apache-airflow-providers-keycloak sudo apt install apache-airflow-providers-keycloak=<VERSION_BEFORE_0.0.1> sudo apt-mark hold apache-airflow-providers-keycloak
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list apache-airflow-providers-keycloak sudo dnf downgrade apache-airflow-providers-keycloak-<VERSION_BEFORE_0.0.1> sudo dnf versionlock add apache-airflow-providers-keycloak
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.