Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain authenticated Airflow API credentials with XCom write-and-read permissions
-
DeliveryCraft XCom write request with reserved-key payload as JSON string literal
-
ExploitWrite bypasses _check_forbidden_xcom_keys guard (string not inspected)
-
InstallIssue GET request with ?deserialize=true on stored entry
-
C2API re-parses string to dict, passes to deserialize_value
-
ExecuteArbitrary airflow.* class instantiated on server
-
ImpactExfiltrate credentials or escalate within Airflow environment
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 | Exploitation requires an authenticated Airflow API session with at minimum two specific permissions: XCom write access (to POST or PATCH an XCom entry with a reserved-key payload encoded as a JSON string literal) and XCom read access (to trigger deserialization by appending |
| Impact | No CVSS vector or EPSS score is provided in the available data, so risk signals must be inferred entirely from the description and PR diff. The attack vector is network (REST API), access complexity is low once credentials are in hand, but exploitation strictly requires an authenticated session with XCom write-and-read permissions - a non-trivial prerequisite that materially narrows the exploitable population to rogue or compromised insiders rather than anonymous internet attackers. There is no CISA KEV listing and no confirmed public exploit code beyond the test cases committed alongside the fix. The class instantiation is bounded to the |
| Exploit ScenarioDerived | An attacker with a valid Airflow API account possessing XCom write-and-read permissions crafts a POST request to the XCom entries endpoint, submitting a value of |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Unsafe deserialization in Apache Airflow's XCom REST API allows an authenticated user with XCom write-and-read access to instantiate arbitrary airflow.* classes on the API server by smuggling reserved serialization keys inside JSON string literals. The _check_forbidden_xcom_keys guard inspected dict, list, and tuple types but did not attempt to JSON-decode str values, so a payload like json.dumps({"__classname__": "airflow.sdk.definitions.connection.Connection"}) passed the write-time check and was later reconstructed into a live Python object when read back via ?deserialize=true. No public exploit has been identified at time of analysis; vendor-released patch is available in apache-airflow 3.3.1.
RemediationAI
Upgrade to apache-airflow 3.3.1 or later, which incorporates the fix from PR #69378 and rejects reserved XCom serialization keys submitted as JSON string literals at write time (HTTP 422 returned). Full advisory details are at https://lists.apache.org/thread/dm0520yhh4mn7qknyoh45r2w6c5qg2mg. If an immediate upgrade is blocked, apply a network-layer or API gateway rule to reject requests to GET .../xcomEntries/{key}?deserialize=true from all but explicitly trusted service accounts; note this will break any workflow that legitimately relies on XCom deserialization and requires a controlled re-enable after upgrade. As a secondary compensating control, audit and minimize the set of accounts holding combined XCom write-and-read API permissions - this reduces the exploitable population with minimal operational disruption. Operators should also scan existing XCom entries in the database for string values that JSON-decode to dicts or lists containing __classname__ or __type__ keys, which would indicate prior exploitation attempts.
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) subsystem enables task instances within directed acyclic graphs to share data across runs. The v2 REST API exposes XCom entries at GET /api/v2/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries/{key} and supports a ?deserialize=true query parameter that passes stored values through BaseXCom.deserialize_value. This deserializer uses reserved dict keys - specifically __classname__ and __type__ - to reconstruct named Python classes, a mechanism intentionally scoped to the airflow.* namespace as a controlled object-graph reconstruction feature. The _check_forbidden_xcom_keys function was introduced to prevent writes containing these reserved keys, using an internal _walk function that recursively descended into dict, list, and tuple nodes. The root cause (CWE-502: Deserialization of Untrusted Data) stems from an inconsistency between the write-time validation path and the read-time deserialization path: _walk did not attempt to JSON-decode string values, so a payload submitted as json.dumps({"__classname__": ...}) stored a string, bypassed _walk, and was silently re-parsed into a dict containing the reserved key on the deserialization read path. The fix in PR #69378 adds a str branch to _walk that calls json.loads and recurses into the decoded structure before accepting the write. CPE cpe:2.3:a:apache_software_foundation:apache_airflow:*:*:*:*:*:*:*:* covers all versions without a lower bound.
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:L/I:L/A:N
Network-reachable REST API requires authenticated low-privilege user with XCom write-and-read access; primary impact is credential confidentiality via Connection class instantiation, with limited integrity exposure and no availability impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Apache Airflow's XCom GET /api/v2/{...}/xcomEntries/{key}?deserialize=true endpoint passed a string-literal payload through BaseXCom.deserialize_value without the _check_forbidden_xcom_keys guard, allowing an authenticated API user with XCom write-and-read access to instantiate arbitrary airflow.* classes on the API server (CWE-502). An authenticated user who can write an XCom value and then read it back with deserialize=true triggers the unsafe instantiation. Users are advised to upgrade to apache-airflow 3.3.1 or later, which rejects reserved XCom serialization keys submitted as JSON string literals.
Blast Radius
ecosystem impact- 12 pypi packages depend on apache-airflow (1 direct, 11 indirect)
Ecosystem-wide dependent count for version 3.3.1.
Articles & Coverage 1
Executive ViewAI
Apache Airflow's XCom REST API contains an unsafe deserialization vulnerability that allows authenticated users to inject and instantiate arbitrary code on the API server, threatening the integrity of data pipeline orchestration. Organizations using Airflow for workflow management face a critical insider risk, as compromised accounts or malicious team members with XCom access can execute arbitrary Python code. Patch deployment to version 3.3.1 is essential to secure this critical infrastructure layer.
Apply vendor patch.
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.
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
Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve
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
EUVD-2026-57312
GHSA-fcmm-42r9-mmmm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB