CVE-2026-30898 Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf
HighCVSS 8.8
EPSS 0.78%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache airflow | < 3.2.0 | 3.2.0 | Fixed |
| pypi apache-airflow(PyPI) | < 3.0.0 | 3.0.0 | Fixed |
| pypi apache-airflow-core(PyPI) | >= 3.0.0, < 3.2.0 | 3.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-airflow(PyPI) | < 3.0.0 | 3.0.0 |
| pypi apache-airflow-core(PyPI) | >= 3.0.0, < 3.2.0 | 3.2.0 |
| apache airflow | < 3.2.0 | 3.2.0 |
References
- github.com issue-tracking patch
- lists.apache.org mailing-list vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- ENISA EUVD EUVD-2026-23660 third-party-advisory