Apache Airflow example_dag_decorator Remote Code Execution Vulnerability: CVE-2026-101031
- Investigating(current)
- Trending(upcoming)
- Workaround available(upcoming)
- Resolved(upcoming)
Executive summary
Apache Airflow is affected by a critical vulnerability (CVE-2026-101031) in the `example_dag_decorator` example DAG when `load_examples` is enabled. The DAG validates an IP address fetched over HTTP using Python's `ipaddress` module and passes it into a shell command, allowing arbitrary shell command injection if a custom `url` parameter is triggered.
No verified workaround yet
None of the linked reports describe a mitigation. Follow this incident to hear when one appears.
Official fixPython's `ipaddress` module accepts IPv6 zone identifiers containing arbitrary characters, which were incorrectly placed into a shell command after being fetched over HTTP in an example DAG.
Evidence
1 report · 1 CVEShow
- [1]CVE First report`example_dag_decorator` example Dag shipped with Apache Airflow validated an IP address fetched over HTTP with Pytho: CVE-2026-101031 (Critical)(opens security advisory in a new tab)
Critical severity. 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…
by Tenable 0upvotes 0comments
Timeline
- First report on security advisory
`example_dag_decorator` example Dag shipped with Apache Airflow validated an IP address fetched over HTTP with Pytho: CVE-2026-101031 (Critical)
Source