Shell command injection in Apache Airflow example Dag
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-78.
Summary
Apache Airflow from 3.0.5 before 3.4.0 is affected. The example_dag_decorator example Dag puts an IP address fetched over HTTP into a shell command, and the ipaddress module accepts IPv6 zone identifiers with arbitrary characters (CWE-78). When example Dags are loaded, a user who can trigger the Dag with a custom url parameter can run shell commands on the worker by pointing it at a server whose response injects commands.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
The `example_dag_decorator` example Dag shipped with Apache Airflow validated an IP address fetched over HTTP with Python's `ipaddress` module and then placed it into a shell command. `ipaddress` accepts IPv6 zone identifiers containing arbitrary characters, so when example Dags are loaded (`load_examples` enabled), a user who can trigger that Dag with a custom `url` parameter could point it at a server whose response injects shell commands run on the worker. This is an incomplete fix for CVE-2025-54941; users who upgraded for CVE-2025-54941 should upgrade again. Users are advised to upgrade to apache-airflow 3.4.0 or later, or to disable example Dags (`load_examples = False`), which is recommended for production.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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
Upgrade Apache Airflow to 3.4.0 or later. Alternatively, disable example Dags by setting load_examples = False, which is recommended for production. This is an incomplete fix for CVE-2025-54941, so users who upgraded for that CVE should upgrade again.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.4.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 3.4.0
17 records Highest priority Priority MEDIUM 7 MEDIUM, 10 LOW
Other records, highest priority first
- TI-2026-87039 Missing authentication in Apache Airflow CeleryExecutor callbacksPriority MEDIUM 50
- TI-2026-87045 Apache Airflow exposes DAG stack traces to unauthorized usersPriority MEDIUM 42
- TI-2026-87024 Deserialization flaw in Apache Airflow Dag run confPriority MEDIUM 42
Timeline
- 2026-11-09 Threatist record created from CVE-2026-101031
- 2026-11-09 Alias added: GHSA-423g-74fv-rrcc
- 2026-11-12 CVSS score added · CISA ADP
- 2026-11-12 CISA SSVC decision points changed
- 2026-11-12 Priority changed: LOW → MEDIUM
References
More Apache vulnerabilities
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Remote command execution in Apache HugeGraph-Server via Gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Apache ActiveMQ OpenWire deserialization allows remote code execution KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-101031 · CVE Program
- CVE-2026-101031 · NVD
- FIRST EPSS
- GHSA-423g-74fv-rrcc · 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