PyPI: apache-airflow-core

CVE-2026-25917

Safety vulnerability ID: SFTY-20260418-85912

Safety legacy ID: pyup.io-95053

Affected versions of the apache-airflow-core package are vulnerable to Remote Code Execution due to unsafe deserialisation or evaluation of XCom payloads when rendered in the webserver context. A DAG Author who would not normally be able to execute code in the webserver process can craft an XCom payload that causes the webserver to execute arbitrary code when the payload is processed. A DAG Author can thereby achieve code execution within the webserver context, expanding the trust boundary beyond the intended DAG execution environment, though severity is rated Low because DAG Authors are already a highly trusted role.

Created at: Oct 26, 2026Updated at: Oct 26, 2026

Overview

Apache Airflow allows code execution through crafted XCom payloads

Advisory

Affected versions of the apache-airflow-core package are vulnerable to Remote Code Execution due to unsafe deserialisation or evaluation of XCom payloads when rendered in the webserver context. A DAG Author who would not normally be able to execute code in the webserver process can craft an XCom payload that causes the webserver to execute arbitrary code when the payload is processed. A DAG Author can thereby achieve code execution within the webserver context, expanding the trust boundary beyond the intended DAG execution environment, though severity is rated Low because DAG Authors are already a highly trusted role.

Affected Package

Affecting apache-airflow-core package, versions<3.2.0

Also affects

---

How to Fix

Upgradeapache-airflow-coreto3.2.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more