CVE-2026-30898Apache 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Airflow: affected: before 3.0.0; fixed in
3.0.0 - Apache Software Foundation Apache Airflow: affected: 3.0.0 to before 3.2.0; fixed in
3.2.0
Vendor advisories:
- https://github.com/apache/airflow/pull/64129 (patch)
- https://lists.apache.org/thread/26zmhfj1t95c1hld2r14ho81nzh1bdc8 (vendor-advisory)
References
- https://github.com/apache/airflow/pull/64129
- https://lists.apache.org/thread/26zmhfj1t95c1hld2r14ho81nzh1bdc8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.