Template Injection Vulnerability in Apache Airflow by the Apache Software Foundation
CVE-2026-120353

Currently unrated

What is CVE-2026-120353?

A template injection vulnerability exists in Apache Airflow's TaskFlow decorators, allowing an attacker to trigger arbitrary commands on the worker. This occurs due to the Jinja templates being rendered multiple times after the task runner has already processed them. If an attacker can influence a Dag run or control inputs sent to these decorators, they can exploit this flaw to execute malicious commands, potentially gaining access to sensitive information such as passwords and variables stored in the system. To mitigate this risk, users are advised to upgrade to specific versions of the affected Apache Airflow providers.

Affected Version(s)

Apache Airflow CNCF Kubernetes provider 10.5.0 < 11.0.0

Apache Airflow Common Ai provider 0.1.0 < 1.2.0

Apache Airflow Common SQL provider 1.32.0 < 3.0.0

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Claude Security Scans
Sonar
Jarek Potiuk
.