Skip to main content

Apache Airflow EUVDEUVD-2026-33588

| CVE-2026-42359 HIGH
Deserialization of Untrusted Data (CWE-502)
8.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain authenticated Airflow user with XCom edit rights
  2. Delivery
    PATCH XCom entry with reserved __classname__/__type metadata
  3. Exploit
    Bypass missing FORBIDDEN_XCOM_KEYS validation on XComUpdateBody
  4. Install
    Downstream task xcom_pull deserializes attacker payload
  5. C2
    Arbitrary class instantiated in worker process
  6. Execute
    Code execution as Airflow worker user
  7. Impact
    Pivot 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Airflow 3.2.0 <3.2.2

Affected Packages

pypi apache-airflow fix: 3.2.2

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

Vendor (CNA) PRIMARY 8.8 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 02, 2026 - 14:22 NVD
8.8 (HIGH)
Patch available
Jun 01, 2026 - 10:01 EUVD
CVE Published
May 31, 2026 - 12:45 nvd
UNKNOWN (no severity yet)
CVE Published
May 31, 2026 - 12:45 nvd
HIGH 8.8

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 10 pypi packages depend on apache-airflow (1 direct, 9 indirect)

Ecosystem-wide dependent count for version 3.2.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2020-13927 CRITICAL POC
9.8 Nov 10

The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th

CVE-2020-11978 HIGH POC
8.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r

CVE-2021-38540 CRITICAL POC
9.8 Sep 09

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2022-40127 HIGH POC
8.8 Nov 14

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb

CVE-2022-24288 HIGH POC
8.8 Feb 25

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them

CVE-2020-17526 HIGH POC
7.7 Dec 21

Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou

CVE-2026-82311 CRITICAL
9.8 Sep 15

Insufficient session expiration in apache-airflow-providers-fab 2.4.2 through 3.9.0 means an attacker who already holds

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2023-25754 CRITICAL
9.8 May 08

Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.6.0. Rated critical severit

CVE-2023-22884 CRITICAL
9.8 Jan 21

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Fou

CVE-2022-40189 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy