CVE-2026-120353: 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
This Apache advisory covers CVE-2026-120353. Related products: Apache Airflow TaskFlow.
- CVE-2026-120353
Am I affected by CVE-2026-120353?
The source names the versions below but does not confirm which products they belong to. Check the Apache advisory before you decide.
| Versions named | Fixed in |
|---|---|
| Apache Airflow Standard provider 0.3.0 before 1.22.0 | 1.22.0 |
| Apache Airflow CNCF Kubernetes provider 10.5.0 before 11.0.0 | 11.0.0 |
| Apache Airflow Common SQL provider 1.32.0 before 3.0.0 | 3.0.0 |
| Apache Airflow Common Ai provider 0.1.0 before 1.2.0 | 1.2.0 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High
- Weakness
- CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
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.
Text from the source record.
How to fix CVE-2026-120353
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- 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.
Support dates for the fixed release lines
- Apache Airflow 3.0: support ended
CVE-2026-120353 questions
Is CVE-2026-120353 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-120353?
The source names the versions below but does not confirm which products they belong to. Check the Apache advisory before you decide. The table above lists each version.
How do I fix CVE-2026-120353?
Upgrade to a fixed release Apache lists for your version: 1.22.0, 11.0.0, 3.0.0, 1.2.0. The advisory's own guidance is above.
How serious is CVE-2026-120353?
Apache rates it high.
More Apache Software Foundation advisories
CVE-2026-137686Nov 27, 2026Apache Shiro: The fix for CVE-2014-0074 was incomplete for ActiveDirectoryRealmCVE-2026-86470Nov 26, 2026Apache SkyWalking BanyanDB denial of serviceCVE-2026-71501Nov 25, 2026Apache JSPWiki cross-site scripting (XSS)CVE-2026-71902Nov 25, 2026Apache JSPWiki: XSS vulnerability (Group.jsp)CVE-2026-71903Nov 25, 2026Cross Site Scripting (XSS) in JSPWIKI in versions 2.12.4 and olderCVE-2026-78089Nov 25, 2026Apache JSPWiki: XSS in SvnStyleDiffProvider
Apache Software Foundation advisories, November 2026All Apache Software Foundation advisories
Get an email when Apache Airflow publishes the next one.
See Apache Airflow's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).