Apache Software Foundation Apache Airflow
Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CISA ADP · CWE-77
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Apache Software Foundation Apache Airflow
- < 3.0.0
Fixed in 3.0.0
Apache Software Foundation Apache Airflow
- >= 3.0.0, < 3.2.0
Fixed in 3.2.0
Mitigation
Upgrade Apache Airflow to 3.0.0 or later.
Upgrade Apache Airflow to 3.2.0 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.