Skip to content
HighVulnerability

CVE-2026-120353: The Apache Airflow TaskFlow decorators @task.bash, @task.sql, @task.analytics, @task.kubernetes_cmd and the common.ai…

Identifier
CVE-2026-120353
Published
Record updated
View JSON

Summary

CVE-2026-120353 affects the Apache Airflow TaskFlow decorators @task.bash, @task.sql, @task.analytics, @task.kubernetes_cmd and the common.ai decorators. These decorators rendered Jinja templates a second time on the worker, so values copied into env, op_args, op_kwargs or the returned prompt, command or SQL were evaluated as templates. An attacker who can trigger a Dag run or who controls text passed into these decorators could run arbitrary commands on the worker and read connection passwords and Variables.

Mitigation

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.