{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-120353", "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "state": "PUBLISHED", "assignerShortName": "apache", "dateReserved": "2026-11-01T19:59:18.779Z", "datePublished": "2026-11-26T18:30:32.774Z", "dateUpdated": "2026-12-03T17:58:32.255Z" }, "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "packageURL": "pkg:pypi/apache-airflow-providers-standard", "product": "Apache Airflow Standard provider", "vendor": "Apache Software Foundation", "versions": [ { "lessThan": "1.22.0", "status": "affected", "version": "0.3.0", "versionType": "semver" } ], "collectionURL": "https://pypi.python.org", "packageName": "apache-airflow-providers-standard" }, { "defaultStatus": "unaffected", "packageURL": "pkg:pypi/apache-airflow-providers-cncf-kubernetes", "product": "Apache Airflow CNCF Kubernetes provider", "vendor": "Apache Software Foundation", "versions": [ { "lessThan": "11.0.0", "status": "affected", "version": "10.5.0", "versionType": "semver" } ], "collectionURL": "https://pypi.python.org", "packageName": "apache-airflow-providers-cncf-kubernetes" }, { "defaultStatus": "unaffected", "packageURL": "pkg:pypi/apache-airflow-providers-common-sql", "product": "Apache Airflow Common SQL provider", "vendor": "Apache Software Foundation", "versions": [ { "lessThan": "3.0.0", "status": "affected", "version": "1.32.0", "versionType": "semver" } ], "collectionURL": "https://pypi.python.org", "packageName": "apache-airflow-providers-common-sql" }, { "defaultStatus": "unaffected", "packageURL": "pkg:pypi/apache-airflow-providers-common-ai", "product": "Apache Airflow Common Ai provider", "vendor": "Apache Software Foundation", "versions": [ { "lessThan": "1.2.0", "status": "affected", "version": "0.1.0", "versionType": "semver" } ], "collectionURL": "https://pypi.python.org", "packageName": "apache-airflow-providers-common-ai" } ], "credits": [ { "lang": "en", "type": "tool", "value": "Claude Security Scans" }, { "lang": "en", "type": "finder", "value": "Sonar" }, { "lang": "en", "type": "remediation developer", "value": "Jarek Potiuk" } ], "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "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." } ], "value": "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." } ], "metrics": [ { "other": { "content": { "text": "important" }, "type": "Textual description of severity" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-1336", "description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "shortName": "apache", "dateUpdated": "2026-11-26T18:30:32.774Z" }, "references": [ { "tags": [ "patch" ], "url": "https://github.com/apache/airflow/pull/76244" }, { "tags": [ "vendor-advisory" ], "url": "https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj" } ], "source": { "discovery": "INTERNAL" }, "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", "x_generator": { "engine": "airflow-s/generate_cve_json.py" } }, "adp": [ { "title": "CVE Program Container", "references": [ { "url": "http://www.openwall.com/lists/oss-security/2026/11/27/1" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2026-11-27T04:06:42.799Z" } }, { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2026-12-03T17:58:07.698287Z", "id": "CVE-2026-120353", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-12-03T17:58:32.255Z" } } ] } }