{"id":"CVE-2026-120353","aliases":[],"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","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00383,"percentile":0.24142},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"apache-airflow-providers-cncf-kubernetes","range":">=10.5.0, <11.0.0","fixed":"11.0.0"},{"ecosystem":"unknown","name":"apache-airflow-providers-common-ai","range":">=0.1.0, <1.2.0","fixed":"1.2.0"},{"ecosystem":"unknown","name":"apache-airflow-providers-common-sql","range":">=1.32.0, <3.0.0","fixed":"3.0.0"},{"ecosystem":"unknown","name":"apache-airflow-providers-standard","range":">=0.3.0, <1.22.0","fixed":"1.22.0"}],"references":[{"url":"https://github.com/apache/airflow/pull/76244","type":"patch"},{"url":"https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj","type":"vendor-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120353.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120353","type":"advisory"},{"url":"https://pypi.python.org","type":"web"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/27/1","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-27T05:27:00.719Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120353","license":"NVD terms of use","firstSeenAt":"2026-11-26T19:32:51.930Z"},{"name":"osv","at":"2026-11-27T06:33:19.355Z","url":"https://osv.dev/vulnerability/CVE-2026-120353","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T20:05:59.830Z"},{"name":"cvelistV5","at":"2026-11-28T17:43:14.840Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-120353","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T18:57:20.972Z"}],"firstSeenAt":"2026-11-26T18:57:20.972Z","publishedAt":"2026-11-26T18:30:32.774Z","modifiedAt":"2026-11-27T05:19:00.990Z"}