Command injection in Apache Airflow - CVE-2026-42252

 

Command injection in Apache Airflow - CVE-2026-42252

Published: June 4, 2026


Vulnerability identifier: #VU133380
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-42252
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Airflow

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to command injection in BashOperator bash_command templating when processing user-supplied dag_run.conf values from the trigger API. A remote user can supply a specially crafted conf value to execute arbitrary code.

Exploitation requires a deployment whose DAG code copied the documented pattern and a user with Dag.can_trigger permission on the affected DAG.


How to mitigate CVE-2026-42252

Install security update from vendor's website.

Sources