Apache Airflow: Bad example of BashOperator shell injection via dag_run.conf
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.0.0
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.2.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 3.2.0
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-24758 Apache Airflow: Users with asset materialization permisssions could trigger Dags they had no access toPriority LOW 39
- TI-2026-23738 Apache Airflow: Exposing stack trace in case of constraint errorPriority LOW 39
- TI-2026-20948 Apache Airflow: API extra-links triggers XCom deserialization/class instantiation (Airflow 3.1.5)Priority LOW 35
- Release ·
Apache Airflow 3.0.0
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-23738 Apache Airflow: Exposing stack trace in case of constraint errorPriority LOW 39
- TI-2026-20948 Apache Airflow: API extra-links triggers XCom deserialization/class instantiation (Airflow 3.1.5)Priority LOW 35
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30898
- 2026-10-03 Alias added: GHSA-6337-2587-f2jq
- 2026-11-03 Fix available: [email protected], [email protected] · CNA
References
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2026-30898 · CVE Program
- CVE-2026-30898 · NVD
- FIRST EPSS
- GHSA-6337-2587-f2jq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences