CVE-2026-30898: Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf
An example of BashOperator in Airflow documentation suggested a way of passing dagrun.conf in the way that could cause unsanitized user input to be used to escalate privileges of UI user to allow execute code on worker. Users should review if any of their own DAGs have adopted this incorrect advice.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-30898?
CVE-2026-30898 is classified as a high severity vulnerability due to its potential for privilege escalation through shell injection.
How do I fix CVE-2026-30898?
To fix CVE-2026-30898, ensure that user inputs are properly sanitized before being passed into the BashOperator.
Which versions of Apache Airflow are affected by CVE-2026-30898?
CVE-2026-30898 affects all versions of Apache Airflow that implement the flawed example of BashOperator.
What type of vulnerability is CVE-2026-30898?
CVE-2026-30898 is a shell injection vulnerability that can be exploited through unsanitized user input.
What should I do if my system is vulnerable to CVE-2026-30898?
If your system is vulnerable to CVE-2026-30898, you should patch the vulnerability by updating to a secure version and review your usage of BashOperator.