Command injection in Apache Airflow - CVE-2026-30898

 

Command injection in Apache Airflow - CVE-2026-30898

Published: August 25, 2026


Vulnerability identifier: #VU145327
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-30898
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute code on a worker.

The vulnerability exists due to command injection in the BashOperator example DAG code when passing user-supplied dag_run.conf values. A remote user can supply crafted input to escalate privileges and execute code on a worker.

The issue stems from unsafe documentation example code that may be copied into user-defined DAGs.


Affected software

Apache Airflow

How to mitigate CVE-2026-30898

Install security update from vendor's website.

Apache Airflow - update to 3.2.0

External References

Related Security Bulletins