Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40948: CWE-352: Cross-Site Request Forgery (CSRF) in Apache Software Foundation Apache Airflow

0
Unknown
VulnerabilityCVE-2026-40948cvecve-2026-40948cwe-352
Published: Sat Apr 18 2026 (04/18/2026, 13:22:41 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Airflow

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 14:08:06 UTC

Technical Analysis

The vulnerability in apache-airflow-providers-keycloak prior to version 0.7.0 involves missing generation and validation of the OAuth 2.0 'state' parameter and lack of PKCE usage in the login flow. This flaw enables login-CSRF or session fixation attacks where an attacker can trick a victim into authenticating into the attacker's session. The attacker can then access credentials stored by the victim in Airflow Connections. This issue affects Apache Airflow installations using the vulnerable Keycloak provider integration.

Potential Impact

An attacker with a Keycloak account in the same realm can cause a victim to be logged into the attacker's Airflow session, potentially allowing the attacker to harvest credentials the victim stores in Airflow Connections. This compromises the confidentiality of sensitive credentials managed within Airflow. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Users should upgrade apache-airflow-providers-keycloak to version 0.7.0 or later, where this vulnerability is addressed. No official patch or remediation level is explicitly stated in the advisory, but the upgrade recommendation indicates a fix is available in the specified version. Patch status is not yet confirmed by a vendor advisory, so users should verify with the official Apache Airflow or provider documentation for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-16T00:13:13.957Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69e38cc4bdfbbecc5977d883

Added to database: 4/18/2026, 1:53:08 PM

Last enriched: 4/18/2026, 2:08:06 PM

Last updated: 4/18/2026, 3:01:08 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses