← All security advisories

CVE-2026-86829: Apache Airflow: Deserialization of task-controlled XCom values in the Scheduler during dependency evaluation

Severity Important
Affects Apache Airflow
Weakness CWE-502: Deserialization of Untrusted Data
Published November 9, 2026
Record updated November 12, 2026
CVE record CVE-2026-86829 on cve.org

Description

Apache Airflow's scheduler fully deserializes XCom values written by task code while evaluating task dependencies. A Dag author, who controls what a task writes to XCom, therefore controls data that is deserialized inside the scheduler process - a context the Airflow security model reserves for code installed by the Deployment Manager, above the worker-scoped execution capability a Dag author is documented to have. Deployments that treat Dag authors as less trusted than Deployment Managers are affected, and the scheduler must be evaluating a task dependency that reads a task-written XCom value. Users of apache-airflow are recommended to upgrade to version 3.4.0 or later, which restricts dependency evaluation to primitive XCom values.

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow-core before 3.4.0

Credits

  • Claude Security Scans (tool)
  • Jarek Potiuk (remediation developer)

References