Skip to content
NewA calmer, faster ZeroHour

CVE-2026-101031

Shell command injection in Apache Airflow example_dag_decorator Dag

CVSS
—
EPSS
—
Published
·
Modified
Analyze CVE-2026-101031 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

The example_dag_decorator DAG shipped with Apache Airflow, when load_examples is enabled, places an IP address from an HTTP response into a shell command. The ipaddress module accepts IPv6 zone identifiers with arbitrary characters, allowing a user who triggers the DAG via a custom URL to inject shell commands executed on the worker. Example DAG users are affected and can gain remote code execution on workers.

What to do: Upgrade to Apache Airflow 3.4.0 or later. Disable example Dags by setting load_examples=False.

ProductAffectedFixed in
apache airflow—3.4.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-78

In the news

1 story