CVE-2026-120353
publishedApache 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | apache-airflow-providers-standardApache Airflow Standard provider · 0.3.0 to < 1.22.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | apache-airflow-providers-cncf-kubernetesApache Airflow CNCF Kubernetes provider · 10.5.0 to < 11.0.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | apache-airflow-providers-common-sqlApache Airflow Common SQL provider · 1.32.0 to < 3.0.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | apache-airflow-providers-common-aiApache Airflow Common Ai provider · 0.1.0 to < 1.2.0 · Other versions: unaffected | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Airflow Standard provider | 0.3.0 to < 1.22.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Airflow CNCF Kubernetes provider | 10.5.0 to < 11.0.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Airflow Common SQL provider | 1.32.0 to < 3.0.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Airflow Common Ai provider | 0.1.0 to < 1.2.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
3Provider assertions
2apache · cna
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
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 255ff8ce6213bdd6c9efc2bf7b0959f3b41272c83f73eec823116232f2d3fcb2
- Ingested
- 27 Nov 2026, 04:55:14 UTC
- Source record
- Official CVE record