Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as DAG Author
-
DeliveryCreate malicious workflow with XCom task
-
ExploitInject serialized payload in XCom value
-
ExecutionTrigger webserver deserialization
-
ImpactExecute arbitrary code in webserver context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must possess authenticated DAG Author credentials in Apache Airflow, which grants permissions to create and modify workflow definitions (Directed Acyclic Graphs). The vulnerable code path is triggered when the Airflow webserver deserializes XCom payloads-specifically when tasks exchange data using the XCom cross-communication mechanism. This requires the attacker to have the ability to define workflows that produce XCom values and trigger their deserialization by the webserver component. DAG Authors are highly privileged roles in typical Airflow deployments, with legitimate code execution capabilities through workflow task definitions. |
| Impact | Real-world risk is LOW despite the 8.8 CVSS score, a rare case where multiple signals align against the base score. CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) indicates network-accessible remote code execution with low complexity, but the PR:L (low privileges required) significantly constrains the threat model-attackers must already possess DAG Author credentials, a highly trusted role with legitimate code deployment capabilities in Airflow environments. EPSS probability of 0.07% (21st percentile) confirms security community assessment that exploitation likelihood is minimal. SSVC framework marks this as Exploitation: none, Automatable: no, Technical Impact: total-the 'not automatable' and 'no exploitation' signals reinforce that this requires insider access and specific knowledge. Vendor explicitly downgrades severity to Low, recognizing DAG Authors already execute code through normal workflow operations. This is an insider threat scenario, not a perimeter breach risk. The 3.1.8-to-3.2.0 version window suggests limited deployment exposure. Organizations should prioritize this below internet-facing vulnerabilities affecting unauthenticated attack surfaces. |
| Exploit ScenarioDerived | A malicious DAG Author with legitimate credentials authenticates to an Apache Airflow 3.1.x instance and creates a new workflow containing a task that generates a crafted XCom payload embedded with serialized Python objects designed to execute system commands. When another task or the webserver retrieves and deserializes this XCom value, the malicious payload triggers arbitrary code execution in the webserver process context, allowing the attacker to read sensitive configuration files, modify workflow definitions beyond their intended permissions, or establish persistence mechanisms within the Airflow environment. The attack requires low complexity (AC:L) and no user interaction (UI:N), making it reliable once the attacker has DAG Author access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 15, 2026
Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserver context through crafted XCom payloads exploiting insecure deserialization (CWE-502). Affects Apache Airflow versions 3.1.8 through <3.2.0. Despite CVSS 8.8, vendor rates severity as Low due to DAG Authors being highly trusted roles. No public exploit identified at time of analysis, with EPSS exploitation probability at 0.07% (21st percentile), indicating minimal real-world risk. Vendor-released patch: Apache Airflow 3.2.0.
RemediationAI
Upgrade to Apache Airflow 3.2.0, which fully resolves the insecure deserialization issue in XCom payload handling. The upstream fix is implemented in GitHub pull request #64148 (https://github.com/apache/airflow/pull/64148). Organizations running any Apache Airflow 3.1.x version should prioritize migration to 3.2.0 following standard change management procedures. Review DAG Author role assignments and audit XCom usage patterns during the upgrade window to identify any anomalous activity. No workarounds are documented; patching to 3.2.0 is the only remediation path. Consult the official Apache advisory at https://lists.apache.org/thread/1npt3o2x81s0gw9tmfcv4n7p1z9hdmy0 for deployment-specific guidance and release notes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Airflow's XCom (cross-communication) mechanism allows tasks to exchange messages and data between workflow executions. The vulnerability stems from insecure deserialization (CWE-502) when processing XCom payloads. DAG (Directed Acyclic Graph) Authors-users with permissions to create and modify workflow definitions-can craft malicious serialized objects within XCom payloads. When the Airflow webserver deserializes these payloads, it triggers arbitrary code execution in the webserver's runtime context. The affected component (cpe:2.3:a:apache_software_foundation:apache_airflow) processes user-supplied serialized data without adequate validation, allowing trusted but potentially malicious insiders to escalate privileges from DAG authoring permissions to full webserver code execution capabilities. This is a classic insecure deserialization vulnerability where application trust boundaries fail to account for malicious data from authenticated sources.
Know when Apache Airflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (apache) · only source for this CVE.
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload causing the webserver to execute arbitrary code. Since Dag Authors are already highly trusted, severity of this issue is Low.
Users are recommended to upgrade to Apache Airflow 3.2.0, which resolves this issue.
Executive ViewAI
Apache Airflow versions 3.1.8 through 3.1.x contain a remote code execution vulnerability in XCom payload handling that allows authenticated DAG Authors to execute arbitrary code within the webserver context. While the CVSS score is 8.8, real-world risk is significantly limited by the requirement for DAG Author privileges-a highly trusted role-and the 0.07% exploitation probability, making this primarily a privileged insider threat requiring immediate but measured response.
Apply vendor patch: Apache Airflow 3.2.0. Interim mitigations if patching is delayed: (1) restrict DAG Author role assignment to essential trusted personnel only, (2) implement privileged access management (PAM) controls requiring approval for DAG Author operations, (3) enable and monitor detailed audit logging for all DAG creation, modification, and XCom operations, (4) network segmentation to limit lateral movement from compromised webserver contexts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Apache Airflow
View allRemote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll
Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'
Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha
Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i
Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a
Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i
Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv
Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__
Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w
CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera
Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf
Authorization bypass in Apache Airflow's Backfill API (all versions prior to 3.3.1) allows any authenticated user holdin
EUVD-2026-21978
GHSA-mc4f-r875-v87w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB