Ad

CVE-2026-120353

NONE
Обновлено 26 ноября 2026
Apache Software Foundation
Параметр Значение
Тип уязвимости CWE-1336 (Внедрение через шаблоны)
Поставщик Apache Software Foundation
Публичный эксплойт Нет

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. Злоумышленник, который может только запустить Dag (например, пользователь с разрешением запуска run conf), или кто контролирует текст, который Dag передает в один из этих декораторов в качестве аргумента или подсказки (например, билет или загруженный документ), может выполнять произвольные команды на рабочем и читать пароли подключения и Variables, в любом развертывании, которое использует затронутый декоратор в Dag, который передает такой ввод через env, параметры или подсказки. Пользователям рекомендуется обновить apache-airflow-providers-standard до 1.22.0, apache-airflow-providers-cncf-kubernetes до 11.0.0, apache-airflow-providers-common-sql до 3.0.0 и apache-airflow-providers-common-ai до 1.2.0 или более поздней версии.

Показать оригинальное описание (EN)

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.

Уязвимые продукты

apache software foundation:apache airflow standard provider apache software foundation:apache airflow common sql provider apache software foundation:apache airflow common ai provider apache software foundation:apache airflow cncf kubernetes provider