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

Published Apr 17, 2026
·
Updated

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

2 affected components
Apache Airflow
Apache Airflow<3.2.0

Event History

Apr 18, 2026
CVE Published
via MITRE·06:20 AM
Data Sourced
via MITRE·06:20 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What type of vulnerability is CVE-2026-30898?

CVE-2026-30898 is a shell injection vulnerability that can be exploited through unsanitized user input.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203