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…
EPSS 0.1%top 78%

CVE-2025-54550: CWE-94: Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache Airflow

0
High
VulnerabilityCVE-2025-54550cvecve-2025-54550cwe-94
Published: Wed Apr 15 2026 (04/15/2026, 00:22:03 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Airflow

Description

The example example_xcom that was included in airflow documentation implemented unsafe pattern of reading value from xcom in the way that could be exploited to allow UI user who had access to modify XComs to perform arbitrary execution of code on the worker. Since the UI users are already highly trusted, this is a Low severity vulnerability. It does not affect Airflow release - example_dags are not supposed to be enabled in production environment, however users following the example could replicate the bad pattern. Documentation of Airflow 3.2.0 contains version of the example with improved resiliance for that case. Users who followed that pattern are advised to adjust their implementations accordingly.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:17:56 UTC

Technical Analysis

The vulnerability arises from an unsafe code pattern in the example_xcom DAG included in Apache Airflow documentation, which reads values from XCom in a way that can be exploited by UI users with modification access to execute arbitrary code on the worker. Since UI users are already highly trusted, the severity is considered low in practice. The vulnerability does not impact official Airflow releases because example DAGs are not meant for production. The documentation for Airflow 3.2.0 contains a safer example that addresses this issue. No official patch or remediation level has been published, and no known exploits are reported in the wild.

Potential Impact

If an attacker has UI access with permissions to modify XComs, they could leverage this vulnerability to execute arbitrary code on Airflow workers. However, because such UI users are already highly trusted, the practical impact is limited. The vulnerability does not affect production environments unless users replicate the unsafe example pattern from the documentation.

Mitigation Recommendations

Users should avoid using the unsafe example_xcom pattern from older Airflow documentation and instead follow the improved example provided in Airflow 3.2.0 documentation. Since the example DAG is not intended for production, disabling or not enabling example DAGs in production environments effectively mitigates the risk. There is no official patch or remediation level published; users must manually adjust their implementations if they followed the vulnerable pattern.

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
2025-07-24T21:10:16.628Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69dee70482d89c981fce52d4

Added to database: 4/15/2026, 1:16:52 AM

Last enriched: 4/22/2026, 6:17:56 AM

Last updated: 5/27/2026, 6:29:05 AM

Views: 86

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