Read the docs

Shell command injection in Apache Airflow example Dag

Priority MEDIUM 48CWE-78Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00435 38th percentileScored 2026-11-16
Fix Fixed Apache Airflow (Apache Software Foundation): 3.4.0

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

VendorProductAffected versionsFixed inStatusSource
ApacheApache Airflow3.0.5 to before 3.4.03.4.0Patch availableCNA
  • Apache Airflow VendorApache Affected 3.0.5 to before 3.4.0 Fixed in 3.4.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* Versions — — ·Apache

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

  1. 2026-11-09 Threatist record created from CVE-2026-101031
  2. 2026-11-09 Alias added: GHSA-423g-74fv-rrcc
  3. 2026-11-12 CVSS score added · CISA ADP
  4. 2026-11-12 CISA SSVC decision points changed
  5. 2026-11-12 Priority changed: LOW → MEDIUM

References

  • 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
See all 4172 →

Sources