AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

Several Apache Airflow task decorators render Jinja templates a second time on the worker, causing copied values and returned prompts, commands, or SQL to be evaluated as templates. This can expose worker-side template evaluation to an attacker able to trigger a DAG run.

Impact: server-side template injection

Affected technologies

  • Apache Airflow Standard provider
  • Apache Airflow CNCF Kubernetes provider
  • Apache Airflow Common SQL provider
  • Apache Airflow Common AI provider

Update the affected Apache Airflow providers to versions containing the fix.

Details

   
CVSS 9.8 (Critical)
Vendor / product Apache Software Foundation Apache Airflow Standard provider
Published 2026-11-26
Weakness CWE-1336
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Original 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

References

← Threat intelligence dashboard