Apache Airflow fixes XCom-related code execution flaws in deserialization and example DAGs
Apache disclosed two low-severity code execution issues in Apache Airflow tied to its XCom mechanism and addressed them in Airflow 3.2.0. CVE-2026-33858 affects Airflow versions 3.1.8 before 3.2.0 and stems from unsafe deserialization in the XCom API, where legacy serialization keys __type and __var can bypass protections and let a DAG author craft payloads that execute arbitrary code in the webserver context. Apache said the flaw was rated low severity because DAG authors are already treated as highly trusted users.
Apache also disclosed CVE-2025-54550, a low-severity remote code execution issue involving the documented example_xcom DAG pattern. The vulnerable pattern read XCom values in a way that could allow a UI user with permission to modify XComs to trigger arbitrary code execution on a worker through a race condition. Apache said official releases were not directly affected because example DAGs are not meant to be enabled in production, but organizations that copied the documented approach could reproduce the weakness in their own deployments; updated documentation in Airflow 3.2.0 provides a safer example.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
5 events from the most recent confirmed update back to the earliest known activity.
Apache discloses CVE-2026-30898 for unsafe BashOperator documentation example
Apache publicly disclosed CVE-2026-30898 on the oss-sec mailing list, describing a low-severity issue in Airflow documentation that showed how to pass dag_run.conf into BashOperator in a way that could enable shell injection. Apache said Airflow versions before 3.2.0 were affected if users copied the example into their own DAGs, and advised reviewing deployments for adoption of the unsafe pattern.
Apache discloses CVE-2025-54550 tied to example_xcom DAG
Apache publicly disclosed CVE-2025-54550 on the oss-sec mailing list, describing a low-severity remote code execution issue caused by a race condition in the documented example_xcom DAG pattern. Apache noted that Airflow 3.2.0 documentation includes a more resilient example and credited Vincent55 Yang for reporting the issue.
Apache Airflow users exposed to unsafe XCom example pattern
Before Airflow 3.2.0, Apache Airflow documentation included an example_xcom DAG pattern that could allow arbitrary code execution on a worker via a race condition if a UI user with permission to modify XComs abused it. Apache said official releases were not affected because example DAGs are not meant to be enabled in production, but users who copied the pattern into their own deployments could reproduce the issue.
Apache discloses CVE-2026-33858 in oss-sec advisory
Apache publicly disclosed CVE-2026-33858 on the oss-sec mailing list, describing it as a low-severity unsafe deserialization vulnerability in Apache Airflow and recommending upgrade to version 3.2.0. The advisory credited wooseokdotkim for finding the issue and Amogh Desai for the remediation work.
Apache fixes legacy XCom deserialization bypass in Airflow 3.2.0
Apache addressed CVE-2026-33858 in Airflow 3.2.0, fixing an unsafe deserialization flaw in the XCom API where legacy serialization keys (__type/__var) could bypass protections and let DAG authors trigger arbitrary code execution in the webserver context. The issue affected Airflow versions 3.1.8 before 3.2.0.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
3 references tracked. Mallory keeps watching after this page renders.
oss-sec: CVE-2026-30898: Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf
seclists.org
Open sourceoss-sec: CVE-2025-54550: Apache Airflow: RCE by race condition in example_xcom dag
seclists.org
Open sourceoss-sec: CVE-2026-33858: Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API
seclists.org
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


