TL;DR

Four Apache Airflow provider packages rendered Jinja templates a second time in ten TaskFlow decorators, per CVE-2026-120353. The decorators include @task.bash, @task.sql, @task.llm and @task.agent. The record says a user who can trigger a Dag run, or anyone who controls text a Dag passes into one of them, could run commands on the worker and read connection passwords and Variables. Apache rates it "important" and gives no CVSS score. Upgrade the standard provider to 1.22.0, cncf-kubernetes to 11.0.0, common-sql to 3.0.0 and common-ai to 1.2.0.

What happened

Apache published the record and an announcement on the Airflow users list on 2026-11-26. Both carry the same description.

The record says the decorators "rendered Jinja templates a second time after the task runner had already rendered them". Any value copied into env, op_args, op_kwargs or the returned prompt, command or SQL was then evaluated as a template on the worker.

The record names two kinds of attacker:

  • A user who can only trigger a Dag run, for example one with trigger permission who supplies run conf.
  • Someone who controls text that a Dag passes into a decorator as an argument or prompt. The record's examples are "a ticket or a downloaded document".

It limits the exposure to deployments that use an affected decorator in a Dag that passes such input through env, parameters or prompt.

The common.ai decorators the record lists are @task.llm, @task.agent, @task.llm_sql, @task.llm_branch, @task.llm_file_analysis and @task.llm_schema_compare.

Package Affected Fixed Fixed release on PyPI
apache-airflow-providers-standard 0.3.0 to below 1.22.0 1.22.0 2026-11-23
apache-airflow-providers-cncf-kubernetes 10.5.0 to below 11.0.0 11.0.0 2026-11-09
apache-airflow-providers-common-sql 1.32.0 to below 3.0.0 3.0.0 2026-11-09
apache-airflow-providers-common-ai 0.1.0 to below 1.2.0 1.2.0 2026-11-23

PyPI also holds apache-airflow-providers-standard 2.0.0rc1, uploaded 2026-11-05. That is before the 1.22.0 release and above the record's range. Neither the record nor the announcement mentions it.

The announcement credits "Claude Security Scans (tool)" and Sonar as finder, and Jarek Potiuk for the fix. The record references pull request 76244.

Am I affected?

pip list 2>/dev/null | grep -iE 'apache-airflow-providers-(standard|cncf-kubernetes|common-sql|common-ai)'
grep -rnE '@task\.(bash|sql|analytics|kubernetes_cmd|llm|agent|llm_sql|llm_branch|llm_file_analysis|llm_schema_compare)' dags/
  • A version inside a range in the table is affected. Check each worker image, not only the scheduler.
  • You are exposed if a Dag found by the second command passes run conf, or text from outside your team, into the decorator's arguments, env or prompt.
  • A Dag that feeds tickets or downloaded documents to @task.llm or @task.agent meets the record's second case. Emails and web pages are the same kind of input.
  • Do not treat a pre-release of apache-airflow-providers-standard 2.0.0 as fixed. No source says whether it is.

If you are affected

  1. Upgrade the four providers to the versions in the table, or later, on every worker.
  2. If affected Dags processed text from outside your team, rotate the Airflow Connections and Variables those workers could read. The record names connection passwords and Variables as readable. The rotation is this file's advice. See rotating cloud credentials.
  3. Review who holds trigger permission on Dags that use these decorators. This step is this file's advice.

Prevention

  • Treat text an LLM task reads as untrusted input to the worker. See agent sandboxing.
  • Give each worker only the Connections and Variables its Dags need. See credential hygiene.
  • Pin provider versions in the worker image and rebuild when a provider ships a security fix.

Sources

Single source: the vendor, which is also the CNA.

  • CVE-2026-120353, CVE Services, CNA Apache Software Foundation, published 2026-11-26, read 2026-11-27: title, description, ranges, the "important" rating, references.
  • Airflow users list announcement, 2026-11-26, read 2026-11-27 through the list's JSON API: severity, ranges, description, credits.
  • PyPI simple API for the four packages, read 2026-11-27: versions and upload dates.
  • GitHub Advisory Database listings for agent and llm, fetched 2026-11-27: the row for GHSA-rghf-2qx4-h6p2, severity "Unknown".
  • Not opened: pull request 76244 and the provider changelogs.