# 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

Status: published. Published: 2026-11-26. Updated: 2026-11-27.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: apache) — https://github.com/apache/airflow/pull/76244

## Affected products and versions

- Apache Software Foundation / Apache Airflow Standard provider (apache-airflow-providers-standard): ≥ 0.3.0; < 1.22.0 (affected, semver). Source: CNA: apache
- Apache Software Foundation / Apache Airflow CNCF Kubernetes provider (apache-airflow-providers-cncf-kubernetes): ≥ 10.5.0; < 11.0.0 (affected, semver). Source: CNA: apache
- Apache Software Foundation / Apache Airflow Common SQL provider (apache-airflow-providers-common-sql): ≥ 1.32.0; < 3.0.0 (affected, semver). Source: CNA: apache
- Apache Software Foundation / Apache Airflow Common Ai provider (apache-airflow-providers-common-ai): ≥ 0.1.0; < 1.2.0 (affected, semver). Source: CNA: apache

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-1336

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/apache/airflow/pull/76244 (CNA: apache; patch)

- https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj (CNA: apache; vendor-advisory)

- http://www.openwall.com/lists/oss-security/2026/11/27/1 (ADP: CVE)

- https://github.com/apache/airflow/pull/76244 (security@apache.org)

- https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj (security@apache.org)

## Provenance

- CNA: apache: https://www.cve.org/CVERecord?id=CVE-2026-120353; retrieved 2026-11-27; source updated 2026-11-27

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-120353; retrieved 2026-11-27; source updated 2026-11-26

Revision: 543a3ee25732ab73f0a146309f4db054fda18f2047cb74cff3824f25dfab23dc

Canonical: https://y2.dev/cve/CVE-2026-120353

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.