Critical vulnerability
Critical remote code execution in apache-airflow-providers-cncf-kubernetes (CVE-2026-120353)
Remote code execution in apache-airflow-providers-cncf-kubernetes · PyPI
CVE-2026-120353
Apache Airflow Standard provider, Apache Airflow CNCF Kubernetes provider, Apache Airflow Common SQL provider, Apache Airflow Common Ai provider: Code execution on the worker via Jinja in TaskFlow decorator arguments
- Severity
- Critical 9.8
- Published
- 26 Nov 2026
- Fixed in
- 1.22.0, 3.0.0, 11.0.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 2 Dec 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
The Apache Airflow TaskFlow decorators @task.bash, @task.sql, @task.analytics, @task.kubernetes_cmd and the common.ai decorators (@task.llm, @task.agent, @task.llm_sql, @task.llm_branch, @task.llm_file_analysis, @task.llm_schema_compare) rendered Jinja templates a second time after the task runner had already rendered them, so any value copied into env, op_args, op_kwargs or the returned prompt, command or SQL was evaluated as a template on the worker. An attacker who can only trigger a Dag run (for example a user with trigger permission supplying run conf), or who controls text that a Dag passes into one of these decorators as an argument or prompt (for example a ticket or a downloaded document), could run arbitrary commands on the worker and read connection passwords and Variables, in any deployment that uses an affected decorator in a Dag that passes such input through env, parameters or prompt.
| Software | Affected versions |
|---|---|
| apache-airflow-providers-cncf-kubernetesPyPI |
|
| apache-airflow-providers-common-aiPyPI |
|
| apache-airflow-providers-common-sqlPyPI |
|
| apache-airflow-providers-standardPyPI |
|
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120353
From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.