GHSA-wr76-29cr-67w8
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain authenticated Airflow user with XCom edit rights
-
DeliveryPATCH XCom entry with reserved __classname__/__type metadata
-
ExploitBypass missing FORBIDDEN_XCOM_KEYS validation on XComUpdateBody
-
InstallDownstream task xcom_pull deserializes attacker payload
-
C2Arbitrary class instantiated in worker process
-
ExecuteCode execution as Airflow worker user
-
ImpactPivot to connections, secrets, and DAG infrastructure
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 | Requires an authenticated Airflow account with permission to PATCH XCom entries (the FastAPI route /dags/{dag_id}/dagRuns/{run_id}/taskInstances/{task_id}/xcomEntries/{xcom_key}); CVSS PR:L confirms low-privilege auth is mandatory. The Airflow REST API must be network-reachable from the attacker (AV:N). The deployment must run Apache Airflow 3.2.0 or 3.2.1 - neither earlier 3.x releases nor 3.2.2+ are affected. The attacker must submit a payload containing one of the reserved serialization keys (__classname__, __type, __var, __data__) so that subsequent deserialization instantiates a chosen class; reaching the RCE primitive additionally requires that a downstream consumer read the XCom, which is the default behavior when tasks call xcom_pull. No user interaction is required (UI:N) and no special non-default configuration is needed beyond the standard XCom + REST API setup. |
| Impact | Signals are mixed and lean toward lower real-world urgency than the 8.8 CVSS suggests. CVSS vector AV:N/AC:L/PR:L/UI:N indicates a network-reachable, low-complexity attack requiring only low privileges, with H/H/H impact - consistent with authenticated RCE in a workflow orchestrator. However, EPSS is 0.02% (7th percentile), CISA SSVC marks Exploitation as 'none' and Automatable 'no' (Technical Impact 'total'), the CVE is not on the CISA KEV list, and no public exploit identified at time of analysis. The vulnerability requires an authenticated session with permission to PATCH XCom entries, which in a properly-configured Airflow deployment is held by trusted DAG authors / operators rather than anonymous users - this materially limits blast radius. Priority should be high for any Airflow 3.2.0/3.2.1 deployment that grants XCom write permissions broadly or exposes the API outside a trust boundary; lower for tightly-scoped internal deployments. The narrow affected range (3.2.0-3.2.1) was disclosed via oss-security on 2026/05/31 alongside a cluster of related Airflow CVEs by the same reporter, suggesting coordinated disclosure rather than in-the-wild abuse. |
| Exploit ScenarioDerived | An authenticated Airflow user with XCom edit rights (for example, a compromised DAG-author account or an insider) sends a PATCH request to /dags/{dag}/dagRuns/{run}/taskInstances/{task}/xcomEntries/{key} with a JSON body whose value contains a nested {"__classname__": "<gadget class>", "__var": {...}} structure. When a downstream task or operator subsequently reads that XCom, Airflow's serializer instantiates the attacker-chosen class with attacker-controlled fields, yielding code execution in the worker context. No public exploit identified at time of analysis, but the PR test cases explicitly exercise the __classname__, __type, and __data__ key shapes that defenders should treat as IOCs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Authenticated remote code execution in Apache Airflow 3.2.0 through 3.2.1 allows users with permission to update XCom entries to achieve code execution by submitting reserved deserialization metadata keys (e.g. __classname__, __type, __data__, __var) to the PATCH XCom endpoint. The XComUpdateBody datamodel omitted the FORBIDDEN_XCOM_KEYS validator that XComCreateBody enforced, letting attackers smuggle a malicious typed payload that is later deserialized into an arbitrary Python class. No public exploit identified at time of analysis and EPSS risk is negligible (0.02%), but a vendor fix has shipped and the root cause is a classic CWE-502 untrusted deserialization.
RemediationAI
Vendor-released patch: upgrade Apache Airflow to 3.2.2 or later, which adds the FORBIDDEN_XCOM_KEYS field validator to XComUpdateBody as shown in apache/airflow PR #65915 (https://github.com/apache/airflow/pull/65915); consult the ASF advisory at https://lists.apache.org/thread/g8dqykpf1p90tysq8tln4qtkqwb1038s. If immediate upgrade is not possible, restrict who holds the 'can_edit' permission on XCom resources in Airflow's RBAC so that only highly-trusted operators can call the PATCH /dags/{dag_id}/dagRuns/{run_id}/taskInstances/{task_id}/xcomEntries/{key} endpoint, and block access to that route at a reverse proxy or WAF for any non-admin principals - the trade-off is that legitimate workflows that update XCom via the REST API will break. Network-isolating the Airflow webserver/API behind authenticated VPN or SSO further reduces exposure but does not address the authenticated-attacker threat model. Audit existing XCom entries for unexpected __classname__, __type, __var, or __data__ keys to detect prior tampering.
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 REST API exposes XCom (cross-communication) entries used to pass data between task instances. Airflow serializes complex Python objects into XCom using metadata keys such as __classname__, __type, __var, and __data__, and on read it reconstructs the original object via its serialization framework. The fix in PR apache/airflow#65915 factors the recursive _check_forbidden_xcom_keys helper out of XComCreateBody and adds an equivalent @field_validator to XComUpdateBody so that PATCH requests are also walked recursively and rejected (HTTP 422) when any forbidden key is present at any nesting depth. The root cause is CWE-502 Deserialization of Untrusted Data: the create-path was hardened, but the update-path was not, leaving a gap where attacker-controlled type metadata reached the deserializer and could instantiate arbitrary registered classes such as airflow.sdk.definitions.connection.Connection or other gadgets.
Know when 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 (CNA) · only source for this CVE.
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Executive ViewAI
Apache Airflow versions 3.2.0 through 3.2.1 contain a remote code execution vulnerability in the XCom update endpoint that allows authenticated users with update permissions to execute arbitrary Python code. This impacts organizations using affected versions and could compromise data pipeline integrity through privilege escalation or account compromise. A vendor patch is available.
Apply vendor patch. Interim mitigation: restrict XCom update permissions to minimal set of service accounts and monitor for unusual permission assignments pending patch deployment.
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.
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th
An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou
Insufficient session expiration in apache-airflow-providers-fab 2.4.2 through 3.9.0 means an attacker who already holds
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.6.0. Rated critical severit
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Fou
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
EUVD-2026-33588
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB