Description
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.
Published: 2026-11-09
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

The example_dag_decorator example DAG in Apache Airflow accepts an HTTP‑fetched IP address and uses Python's ipaddress module to validate it. The module incorrectly accepts IPv6 zone identifiers that can contain arbitrary characters. When the validated address is placed directly into a shell command and the DAG is executed, the injected characters cause shell commands to run on the worker. Consequently, an attacker who can trigger this DAG with a custom url parameter can execute arbitrary commands, resulting in remote code execution on the Airflow worker.

Affected Systems

The flaw affects installations of Apache Airflow that enable example DAGs (load_examples = True). Any version of Airflow containing the example_dag_decorator example DAG is vulnerable until the fix is deployed. Upgrading to apache‑airflow 3.4.0 or later incorporates the patch, while older releases remain affected.

Risk and Exploitability

The vulnerability allows remote execution by supplying a crafted URL parameter when a DAG is triggered. Although no EPSS score is available and it is not listed in CISA’s KEV catalog, the wide availability of example DAGs and the fact that the exploit requires only a simple HTTP request make the risk significant for deployments that permit untrusted actors to trigger DAGs. The CWEmodule indicates an unsafe OS command injection (CWE‑78).

Generated by OpenCVE AI on November 9, 2026 at 11:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Airflow installation to apache‑airflow 3.4.0 or newer to apply the remote code execution fix.
  • Set load_examples = False in airflow.cfg to prevent example DAGs from being loaded and eliminate the injection vector.
  • Restrict DAG execution privileges to trusted users and audit current DAGs to ensure that example DAGs are not enabled or exposed to untrusted input.

Generated by OpenCVE AI on November 9, 2026 at 11:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Mon, 09 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache Airflow: Shell command injection in the example_dag_decorator example Dag via an IPv6 zone identifier
Weaknesses CWE-78
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-09T09:44:39.236Z

Reserved: 2026-09-27T12:15:34.854Z

Link: CVE-2026-101031

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T10:17:02.313

Modified: 2026-11-09T10:17:02.313

Link: CVE-2026-101031

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T12:00:17Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')