Description
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.
Published: 2026-04-13
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch
AI Analysis

Impact

This vulnerability allows a malicious DAG author to embed a malicious payload in an XCom value, exploiting the legacy deserialization handling that interprets the __type and __var keys. The result is that the Airflow webserver executes the untrusted code embedded in the payload. The primary impact is remote code execution within the webserver process, which, while requiring DAG author privileges, enables an attacker to run arbitrary commands on the host.

Affected Systems

Apache Airflow, all versions prior to the 3.2.0 release are affected. The vendor has released version 3.2.0 to fully resolve the issue; no specific sub‑versions are listed in the advisory.

Risk and Exploitability

The flaw carries a CVSS base score of 8.8, indicating a high severity level. No EPSS data or KEV catalog listing is available, yet the vulnerability remains actionable in any installation where users can assume the DAG author role. Exploitation requires the creation and submission of a specially crafted XCom payload via the Airflow XCom API, which the webserver deserializes without adequate validation. The exploitation path is inferred; the attack vector involves a privileged DAG author leveraging the XCom API to trigger code execution.

Generated by OpenCVE AI on April 13, 2026 at 18:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Airflow to version 3.2.0 or later to apply the vendor‑supplied fix.
  • Confirm the upgrade by checking the Airflow version and verifying that the XCom deserialization handler no longer processes __type and __var keys.
  • Restrict the ability to create or edit DAGs to trusted users only, limiting the number of potential malicious actors.

Generated by OpenCVE AI on April 13, 2026 at 18:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mc4f-r875-v87w Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API
History

Fri, 17 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*

Tue, 14 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Mon, 13 Apr 2026 17:30:00 +0000

Type Values Removed Values Added
References

Mon, 13 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 13 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API
Weaknesses CWE-502
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-04-14T03:55:30.291Z

Reserved: 2026-03-24T09:30:31.093Z

Link: CVE-2026-33858

cve-icon Vulnrichment

Updated: 2026-04-13T16:26:57.075Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-13T15:17:33.343

Modified: 2026-04-17T18:40:56.003

Link: CVE-2026-33858

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:34:17Z

Weaknesses