GHSA-3w6w-wrj8-46xr
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Dag author (PR:L)
-
DeliveryWrite crafted XCom via Task Execution API
-
ExploitVictim views XCom through API with deserialization enabled
-
ExecutionAPI server instantiates airflow.* class with attacker args
-
ImpactCode execution in API server 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 | Requires an attacker with Dag-authoring capability (ability to create or modify a task), consistent with PR:L, to write an XCom value via the Task Execution API that escapes the reserved-key check. Exploitation completes only when a user subsequently reads that XCom through the API with deserialization ENABLED, causing the API server to instantiate a class from the airflow.* namespace with the author-chosen arguments. Limiting factors: instantiation is constrained to the airflow.* namespace (not arbitrary classes), it depends on the deserialization-on-read configuration being active, and it needs a second user or API action to trigger the read. Note specifically that applying the CVE-2026-59242 fix (apache-airflow 3.3.1) does NOT close this route - upgrade to apache-airflow 3.4.0 or later is required, which the vendor states is the remediation. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity flaw requiring low privileges, which maps to a legitimate Dag author who can write task code and therefore control XCom values. This is a CWE-502 deserialization issue limited to instantiating classes from the airflow.* namespace with attacker-chosen arguments, not unrestricted arbitrary-class deserialization, so real-world impact depends on exploitable gadgets within that namespace. No EPSS score and no KEV listing were supplied, and the Apache/vuln.today decision label is this_week rather than act_now/emergency, so the data indicates a serious but not emergency-grade issue. PoC/exploit status: no public exploit identified at time of analysis - the referenced GitHub links are the vendor fix PRs, not weaponized exploit code. The most important caveat is that the vendor explicitly frames this as an INCOMPLETE FIX for CVE-2026-59242: operators who patched to apache-airflow 3.3.1 believing they were protected remain exposed through this Task Execution API route, which raises practical risk for anyone who treated 3.3.1 as remediated. Exploitation also depends on deserialization being enabled when the stored XCom is later viewed through the API; verify that configuration state against your deployment. |
| Exploit ScenarioDerived | A Dag author (or anyone able to submit or modify a Dag) crafts a task that writes a malicious XCom value through the Task Execution API, bypassing the reserved-key check applied on other write paths. When another user later retrieves that XCom through the API with deserialization enabled, the API server instantiates an airflow.* class using the Dag author's chosen arguments, yielding code execution or abuse in the API server's context. No public weaponized exploit is identified at this time; the available GitHub references are the vendor remediation PRs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 09, 2026
Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value that skips the reserved-key check applied on other write routes; when another user later reads that XCom through the API with deserialization enabled, the API server instantiates classes from the airflow.* namespace using arguments the Dag author supplied. Apache Airflow 3.0.0 through 3.3.x are affected, and critically the 3.3.1 release that fixed CVE-2026-59242 does not close this second route - the vendor states that upgrading to apache-airflow 3.4.0 or later is required. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) reflects a network-reachable, low-complexity flaw requiring low privileges, and no public exploit has been identified at time of analysis.
Earlier versions of this analysis (1)
Apache Airflow 3.0.0 through 3.3.x applies its reserved-key check to XCom values written by tasks, but not to values stored through the Task Execution API's set_xcom path, so a stored XCom can be crafted that causes the API server to instantiate classes from the airflow.* namespace with arguments chosen by the Dag author when a user later views that XCom with deserialization enabled. Exploitation requires a Dag-author-level capability (write or modify task code that calls set_xcom), XCom deserialization enabled on the deployment, and a separate step in which a user views the stored value through the Task Execution API, which is why the assessed vector carries PR:L, UI:R and AC:H alongside a scope change (S:C). This is an incomplete-fix issue: environments that applied the CVE-2026-59242 remediation in apache-airflow 3.3.1 remain exploitable through this route and must move to 3.4.0; no public exploit code has been identified at time of analysis, and no KEV entry, EPSS score or scored exploitation decision was available in the supplied intelligence.
RemediationAI
Vendor-released patch: upgrade to apache-airflow 3.4.0 or later; the vendor explicitly notes that having applied the CVE-2026-59242 fix in 3.3.1 is not sufficient and that 3.4.0 supersedes it. Track the rollout via https://seclists.org/oss-sec/2026/q4/594, https://lists.apache.org/thread.html/pwdwx354tv0x3m8wzfhh59r6wyztj2lk and the upstream changes https://github.com/apache/airflow/pull/72718 and https://github.com/apache/airflow/pull/74829. Where an immediate upgrade is not possible, note that exploitation completes only when an XCom is read through the API with deserialization enabled, so keeping deserialization turned off for API XCom reads removes the trigger - at the cost of users no longer seeing non-primitive XCom values rendered as objects in the UI and API. Because the write side requires Dag-authoring capability, restricting who can create or modify Dag definitions and task code to trusted users shrinks the attack surface, though it does not fix the flaw and can slow legitimate pipeline development.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
XCom is Airflow's cross-task message store; the Airflow serialization module encodes non-primitive Python objects as a __classname__ envelope that is re-imported and instantiated on read, which is the classic CWE-502 deserialization-of-untrusted-data pattern. Airflow applies a reserved-key check to XCom writes on the routes fixed for CVE-2026-59242, but the Task Execution API path in 3.0.0-3.3.x did not apply that check, so a Dag author could persist an envelope-shaped value. The upstream fix in apache/airflow PR 72718 adds XComModel.deserialize_value_primitives() plus a LazyXComPrimitivesSelectSequence class, and a new full flag on TaskInstance.xcom_pull(); with full=False the stored value is parsed as plain JSON only, so a __classname__ envelope is returned as an ordinary dict and is never imported. The dependency-evaluation callers that only need primitives - the ti_deps logic run by the scheduler and by the API server's task instance dependencies endpoint - now pass full=False, and not_previously_skipped_dep.py was reworked accordingly. The exposure is bounded because instantiation is constrained to the airflow.* namespace rather than arbitrary classes, depends on deserialization-on-read being enabled, and requires a second user or API action to trigger the read.
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
Network-reachable API, low complexity; PR:L because exploitation requires Dag-author privileges to write the XCom; high C/I/A from class instantiation with attacker-controlled arguments in the API server.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
Apache Airflow versions 3.0.0 through 3.3.x contain a high-severity insecure deserialization flaw that lets a low-privileged Dag author bypass reserved-key checks and plant malicious XCom data, which is then executed when another user reads it via the Task Execution API with deserialization enabled. This could allow an attacker to compromise the Airflow environment and potentially access sensitive data or execute arbitrary code, affecting data pipeline integrity and confidentiality. Leadership should prioritize patching because many organizations rely on Airflow for critical workflows, and the flaw requires only low privileges, increasing the risk of insider or compromised account exploitation.
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'
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
Authorization bypass in Apache Airflow's Backfill API (all versions prior to 3.3.1) allows any authenticated user holdin
EUVD-2026-119890
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB