{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.3.0"
                  },
                  {
                    "fixed": "1.22.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "10.5.0"
                  },
                  {
                    "fixed": "11.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.32.0"
                  },
                  {
                    "fixed": "3.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0.1.0"
                  },
                  {
                    "fixed": "1.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "adbb062b50e2e128fe475a76b7ce10ec93c39ee2"
            },
            {
              "fixed": "950c680f14b4891b462cbbe4ab83be3eac5cc8ca"
            },
            {
              "introduced": "7628d47d0481966d9a9b25dfd4870b7a6797ebbf"
            },
            {
              "fixed": "78ff0a99700125121b7f0647023503750f14a11b"
            },
            {
              "introduced": "a1ddf31098a8388d392b338ed29e8925b0e77b69"
            },
            {
              "fixed": "1fc3442f1307fdf5e1221b26f41266c4fed330d3"
            },
            {
              "introduced": "3d40c5e1d05d171864ae76b8eb7e5bd978fd1eaf"
            },
            {
              "fixed": "bbaa6cdee889d3cceb5d35cb30c540ecd69aa7c9"
            }
          ],
          "repo": "https://github.com/apache/airflow",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-1336"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120353.json"
  },
  "details": "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.",
  "id": "CVE-2026-120353",
  "modified": "2026-11-26T19:45:58.205606477Z",
  "published": "2026-11-26T18:30:32.774Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120353.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/airflow/pull/76244"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120353"
    },
    {
      "type": "WEB",
      "url": "https://pypi.python.org"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "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"
}