Apache Airflow scheduler deserializes task-controlled XCom values (CVE-2026-86829)
Dag authors control XCom values that the scheduler fully deserializes during dependency evaluation.
XCom deserialization in Apache Airflow scheduler
Apache Airflow scheduler deserializes XCom values written by tasks when evaluating dependencies. A Dag author controls the data deserialized in the scheduler process. This affects only deployments where Dag authors are less trusted than Deployment Managers. Upgrade to 3.4.0 or later to restrict evaluation to primitive values.
What to do: Upgrade to Apache Airflow 3.4.0 or later. No workaround available.
| Product | Affected | Fixed in |
|---|---|---|
| Apache Airflow | — | 3.4.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
Dag authors control XCom values that the scheduler fully deserializes during dependency evaluation.
Today 1.6K readers · 2.4K views · 775 reads · all time 189K views