Patch Ticker
EnglishEN
Urgent

Apache Airflow re-renders task templates, allowing code execution on workers

CVE-2026-120353

The Airflow task scheduler can be made to run hidden commands!

Mitigation

Update each product you use to its fixed version listed below. Find your product's fixed version in the list below.

Fixed version by product

Apache Airflow Standard provider
1.22.0 or later
Apache Airflow CNCF Kubernetes provider
11.0.0 or later
Apache Airflow Common SQL provider
3.0.0 or later
Apache Airflow Common Ai provider
1.2.0 or later

Summary

Several Apache Airflow TaskFlow decorators render Jinja templates a second time, so user-supplied input runs as a template on the worker. An attacker can run commands and read connection passwords and Variables, affecting users of the Airflow provider packages that include these decorators.

Affected when

  • A DAG uses an affected @task decorator and passes input through env, op_args, op_kwargs or prompt
  • An attacker can trigger a DAG run or control text passed into a DAG

Incidents by product: Apache Airflow CNCF Kubernetes provider · Apache Airflow Common Ai provider · Apache Airflow Common SQL provider · Apache Airflow Standard provider

All Incidents of 2026-11-27

Read the advisory · lists.apache.org (opens in a new tab)