{"schemaVersion":4,"id":"CVE-2026-120353","aliases":[],"status":"published","duplicateOf":null,"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","description":"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.","dates":{"published":"2026-11-26T18:30:32.774Z","modified":"2026-12-03T17:58:32.255Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00856,"percentile":0.59629,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00856,"percentile":0.59629}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00856,"percentile":0.59629}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine","description":"The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1336.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow cncf kubernetes provider","name":"Apache Airflow CNCF Kubernetes provider","label":"apache airflow cncf kubernetes provider","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.5.0, < 11.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"10.5.0","startInclusive":true,"end":"11.0.0","endInclusive":false}}],"versionsText":"≥ 10.5.0, < 11.0.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow_cncf_kubernetes_provider"},{"vendor":"apache software foundation","product":"apache airflow common ai provider","name":"Apache Airflow Common Ai provider","label":"apache airflow common ai provider","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.1.0, < 1.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.1.0","startInclusive":true,"end":"1.2.0","endInclusive":false}}],"versionsText":"≥ 0.1.0, < 1.2.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow_common_ai_provider"},{"vendor":"apache software foundation","product":"apache airflow common sql provider","name":"Apache Airflow Common SQL provider","label":"apache airflow common sql provider","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.32.0, < 3.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.32.0","startInclusive":true,"end":"3.0.0","endInclusive":false}}],"versionsText":"≥ 1.32.0, < 3.0.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow_common_sql_provider"},{"vendor":"apache software foundation","product":"apache airflow standard provider","name":"Apache Airflow Standard provider","label":"apache airflow standard provider","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.3.0, < 1.22.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.3.0","startInclusive":true,"end":"1.22.0","endInclusive":false}}],"versionsText":"≥ 0.3.0, < 1.22.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow_standard_provider"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/airflow/pull/76244","label":"github.com/apache/airflow/pull/76244","hostname":"github.com","tags":["Patch"]},{"url":"https://lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj","label":"lists.apache.org/thread/6szpozm1htzv0cyn11vc6m3pj8xz97nj","hostname":"lists.apache.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/27/1","label":"www.openwall.com/lists/oss-security/2026/11/27/1","hostname":"www.openwall.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T18:30:32.774Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T17:58:32.255Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,98],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00856,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T17:58:32.255Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T17:58:32.255Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T17:58:07.698Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00856,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:20:24.808Z","stale":false,"partial":false}}