Apache Airflow Common Ai Provider
Monthly
Server-side template injection in Apache Airflow's TaskFlow decorators (@task.bash, @task.sql, @task.analytics, @task.kubernetes_cmd, and the common.ai @task.llm family) allows an authenticated low-privileged user who can trigger a Dag, or anyone who controls text a Dag ingests such as a ticket or downloaded document, to execute arbitrary commands on the worker and read every connection password and Variable available to it. The flaw exists because the affected decorators rendered their Jinja template fields a second time inside the worker after the task runner had already rendered them, so any value copied into env, op_args, op_kwargs or the returned prompt/command/SQL was evaluated again as a template. Exposure is not default-configuration: a Dag author must have wired attacker-influenced input into one of those fields of an affected decorator; there is no public exploit or CISA KEV entry at time of analysis, and the assessed severity is high (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).
Server-side template injection in Apache Airflow's TaskFlow decorators (@task.bash, @task.sql, @task.analytics, @task.kubernetes_cmd, and the common.ai @task.llm family) allows an authenticated low-privileged user who can trigger a Dag, or anyone who controls text a Dag ingests such as a ticket or downloaded document, to execute arbitrary commands on the worker and read every connection password and Variable available to it. The flaw exists because the affected decorators rendered their Jinja template fields a second time inside the worker after the task runner had already rendered them, so any value copied into env, op_args, op_kwargs or the returned prompt/command/SQL was evaluated again as a template. Exposure is not default-configuration: a Dag author must have wired attacker-influenced input into one of those fields of an affected decorator; there is no public exploit or CISA KEV entry at time of analysis, and the assessed severity is high (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).