What’s Vulnerable › Vulnerabilities

CVE-2026-30898: Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf

Description

An example of BashOperator in Airflow documentation suggested a way of passing dag_run.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 products

How to fix

Upgrade to a fixed version: Apache Airflow 3.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-30898 or the next vulnerability affects your stack