# 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:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.38% (percentile 24, 2026-11-30)
- **CWE:** CWE-1336
- **Published:** 2026-11-26T18:30:32.774Z
- **Modified:** 2026-11-27T05:19:00.990Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can trigger a Dag run or control text passed into affected Airflow TaskFlow decorators can execute arbitrary commands on the worker and read connection passwords and Variables.

## Who should check

- Anyone running Apache Software Foundation Apache Airflow Standard provider \>= 0.3.0, \< 1.22.0
- Anyone running Apache Software Foundation Apache Airflow CNCF Kubernetes provider \>= 10.5.0, \< 11.0.0
- Anyone running Apache Software Foundation Apache Airflow Common SQL provider \>= 1.32.0, \< 3.0.0
- Anyone running Apache Software Foundation Apache Airflow Common Ai provider \>= 0.1.0, \< 1.2.0

## 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.

## Affected and fixed versions

- Apache Software Foundation Apache Airflow Standard provider: \>= 0.3.0, \< 1.22.0 (cvelist)
- Apache Software Foundation Apache Airflow CNCF Kubernetes provider: \>= 10.5.0, \< 11.0.0 (cvelist)
- Apache Software Foundation Apache Airflow Common SQL provider: \>= 1.32.0, \< 3.0.0 (cvelist)
- Apache Software Foundation Apache Airflow Common Ai provider: \>= 0.1.0, \< 1.2.0 (cvelist)

## Technologies

Apache Airflow, PyPI packages (AI-matched), Python (AI-matched), Apache Software Foundation (all projects)

## Mitigation

- Upgrade Apache Airflow Standard provider to 1.22.0 or later.
- Upgrade Apache Airflow CNCF Kubernetes provider to 11.0.0 or later.
- Upgrade Apache Airflow Common SQL provider to 3.0.0 or later.
- Upgrade Apache Airflow Common Ai provider to 1.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-120353. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120353.md
Affected: Apache Software Foundation Apache Airflow Standard provider >= 0.3.0, < 1.22.0; Apache Software Foundation Apache Airflow CNCF Kubernetes provider >= 10.5.0, < 11.0.0; Apache Software Foundation Apache Airflow Common SQL provider >= 1.32.0, < 3.0.0; Apache Software Foundation Apache Airflow Common …
Fixed in: Apache Software Foundation Apache Airflow Standard provider 1.22.0, Apache Software Foundation Apache Airflow CNCF Kubernetes provider 11.0.0, Apache Software Foundation Apache Airflow Common SQL provider 3.0.0, Apache Software Foundation Apache Airflow Common Ai provider 1.2.0

Steps:
1. Search this machine and project for Apache Software Foundation Apache Airflow Standard provider, Apache Software Foundation Apache Airflow CNCF Kubernetes provider, Apache Software Foundation Apache Airflow Common SQL provider, Apache Software Foundation Apache Airflow Common Ai provider: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-120353 being exploited?

There is no confirmed exploitation: CVE-2026-120353 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2026-120353?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-120353?

Apache Software Foundation Apache Airflow Standard provider \>= 0.3.0, \< 1.22.0; Apache Software Foundation Apache Airflow CNCF Kubernetes provider \>= 10.5.0, \< 11.0.0; Apache Software Foundation Apache Airflow Common SQL provider \>= 1.32.0, \< 3.0.0; Apache Software Foundation Apache Airflow Common Ai provider \>= 0.1.0, \< 1.2.0.

### Is there a fix for CVE-2026-120353?

Yes. Fixed in Apache Software Foundation Apache Airflow Standard provider 1.22.0, Apache Software Foundation Apache Airflow CNCF Kubernetes provider 11.0.0, Apache Software Foundation Apache Airflow Common SQL provider 3.0.0, Apache Software Foundation Apache Airflow Common Ai provider 1.2.0. Upgrade Apache Airflow Standard provider to 1.22.0 or later. Upgrade Apache Airflow CNCF Kubernetes provider to 11.0.0 or later. Upgrade Apache Airflow Common SQL provider to 3.0.0 or later. Upgrade Apache Airflow Common Ai provider to 1.2.0 or later.

### How do I check if I'm affected by CVE-2026-120353?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj>
- patch: <https://github.com/apache/airflow/pull/76244>
- other: <http://www.openwall.com/lists/oss-security/2026/11/27/1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-120353>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-120353> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-120353>
