Improper Neutralization of Special Elements Used in a Template Engine Affecting apache-airflow-providers-common-sql package, versions [1.32.0,3.0.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOWPROVIDERSCOMMONSQL-23050697
  • published30 Nov 2026
  • disclosed26 Nov 2026
  • creditSonar

Introduced: 26 Nov 2026

NewCVE-2026-120353  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade apache-airflow-providers-common-sql to version 3.0.0 or higher.

Overview

apache-airflow-providers-common-sql is a Provider package apache-airflow-providers-common-sql for Apache Airflow

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via double Jinja template rendering in the execute() methods of the TaskFlow decorators @task.kubernetes_cmd (and related decorators @task.bash, @task.sql, @task.analytics, @task.llm, @task.agent, @task.llm_sql, @task.llm_branch, @task.llm_file_analysis, and @task.llm_schema_compare). These decorators call render_template_fields() inside execute() after the task runner has already rendered all template fields, causing values copied into env, op_args, op_kwargs, or the returned prompt, command, or SQL to be evaluated as Jinja templates a second time on the worker. An attacker who can trigger a DAG run or control text that a DAG passes into one of these decorators as an argument or prompt can execute arbitrary commands on the worker and read connection passwords and Variables.

CVSS Base Scores

version 4.0
version 3.1