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. Users are recommended to upgrade apache-airflow-providers-standard to 1.22.0, apache-airflow-providers-cncf-kubernetes to 11.0.0, apache-airflow-providers-common-sql to 3.0.0 and apache-airflow-providers-common-ai to 1.2.0 or later.

Project Subscriptions

Vendors Products
Airflow Cncf Kubernetes Provider Subscribe
Airflow Common Ai Provider Subscribe
Airflow Common Sql Provider Subscribe
Airflow Standard Provider Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 27 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow Cncf Kubernetes Provider
Apache airflow Common Ai Provider
Apache airflow Common Sql Provider
Apache airflow Standard Provider
Vendors & Products Apache
Apache airflow Cncf Kubernetes Provider
Apache airflow Common Ai Provider
Apache airflow Common Sql Provider
Apache airflow Standard Provider

Fri, 27 Nov 2026 05:30:00 +0000

Type Values Removed Values Added
References

Thu, 26 Nov 2026 18:45:00 +0000

Type Values Removed Values Added
Description 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. Users are recommended to upgrade apache-airflow-providers-standard to 1.22.0, apache-airflow-providers-cncf-kubernetes to 11.0.0, apache-airflow-providers-common-sql to 3.0.0 and apache-airflow-providers-common-ai to 1.2.0 or later.
Title 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
Weaknesses CWE-1336
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-27T04:06:42.799Z

Reserved: 2026-11-01T19:59:18.779Z

Link: CVE-2026-120353

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-26T19:17:09.037

Modified: 2026-11-27T05:19:00.990

Link: CVE-2026-120353

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-27T21:29:53Z

Weaknesses