GHSA-423g-74fv-rrcc
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Airflow and trigger example Dag
-
DeliverySet url param to attacker-controlled server
-
ExploitServer returns IPv6 zone-id with shell metacharacters
-
Executionipaddress validation passes malicious string
-
PersistCommand built and run by BashOperator
-
ImpactArbitrary code execution on worker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires all of the following: (1) example Dags loaded - load_examples enabled (Airflow's default, but the vendor explicitly recommends load_examples = False for production, which fully mitigates); (2) an actor able to trigger the specific shipped example_dag_decorator Dag with a custom url parameter, which in practice means authenticated access to the Airflow UI/API; and (3) the attacker controlling (or able to redirect to) an HTTP server whose response supplies an IPv6 zone identifier containing shell metacharacters. Limiting factors: production deployments following vendor guidance (load_examples = False) are not affected, and the trigger path depends on authenticated Dag-trigger permissions rather than fully anonymous network access. Affected versions are apache-airflow 3.0.5 up to (not including) 3.4.0. |
| Impact | Signals conflict on how reachable this flaw really is. The input CVSS (9.1, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) treats it as remote and unauthenticated, but the description says exploitation requires 'a user who can trigger that Dag with a custom url parameter,' which in practice means authenticated access to the Airflow UI/API - so PR:N is likely too generous and PR:L is more defensible. It also requires two conditions NVD's vector does not capture: example Dags must be loaded (load_examples enabled, the default but explicitly discouraged for production) and the attacker must be able to steer the url parameter at a server whose HTTP response carries a malicious IPv6 zone identifier. The A:N in the supplied vector also understates impact: command injection on the worker is arbitrary code execution, which realistically yields availability impact too. Against that, exploitation-likelihood signals are low - EPSS is 0.21% (12th percentile), there is no CISA KEV listing, and no public exploit is referenced (only advisories and the fix PR). The vuln.today Decision label is act_now and a patch is available, so despite the modest EPSS this should be remediated promptly rather than deferred. Net read: a genuinely high-severity code-execution bug, but its real-world reachability is gated by authenticated trigger access and the example-Dag configuration, making it a prompt-patch item rather than evidence of mass exploitation. |
| Exploit ScenarioDerived | An authenticated Airflow user with permission to trigger the shipped example_dag_decorator Dag (present when load_examples is enabled) runs it with a custom url pointing at a server the attacker controls. That server returns an 'IP address' containing an IPv6 zone identifier with embedded shell metacharacters; because ipaddress accepts arbitrary zone-id characters, the value is formatted into a BashOperator command and the injected commands execute on the Airflow worker. No public exploit code is referenced in the available data, though the fixing PR (apache/airflow#73787) documents the vulnerable pattern. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 12, 2026
Command injection in the bundled Apache Airflow example_dag_decorator Dag allows an attacker who can trigger that Dag with a custom url parameter to run arbitrary shell commands on the worker, in apache-airflow 3.0.5 up to (but not including) 3.4.0. The example validates an IP address fetched over HTTP with Python's ipaddress module and then interpolates it into a BashOperator command; because ipaddress accepts IPv6 zone identifiers containing arbitrary characters, a malicious HTTP response can smuggle shell metacharacters into the command line. This is an incomplete fix for CVE-2025-54941, so anyone who upgraded for that CVE must upgrade again to 3.4.0 (vendor-released patch), or set load_examples = False, which the vendor recommends for production and which fully removes exposure. Signals conflict on reachability: published metrics score the flaw 9.1 with PR:N and the priority label is act_now, while our assessment treats the trigger as requiring authenticated Dag-trigger permission and EPSS remains low at 0.21% (12th percentile); no CISA KEV listing and no public exploit code were identified at time of analysis.
Earlier versions of this analysis (1)
Shell command injection in Apache Airflow's example_dag_decorator example DAG affects 3.0.5 before 3.4.0 when load_examples is enabled. An authenticated user who can trigger that DAG with a custom url parameter can cause a malicious HTTP response containing an IPv6 address with a crafted zone identifier to be interpolated into a shell command on the worker, potentially executing commands there. The issue is an incomplete fix for CVE-2025-54941; no public exploit code, EPSS score, or CISA KEV entry is present in the available data, and the vendor recommends upgrading to 3.4.0 or later or disabling example DAGs.
RemediationAI
Upgrade to apache-airflow 3.4.0 or later (vendor-released patch; upstream fix in https://github.com/apache/airflow/pull/73787), and note explicitly that this is a second fix: environments already upgraded to address CVE-2025-54941 remain vulnerable and must upgrade again to 3.4.0. If an immediate upgrade is not possible, set load_examples = False in the Airflow configuration - the vendor's recommended setting for production - which removes the example Dags entirely and is a complete mitigation for this issue, with the side effect that the bundled sample Dags disappear from the UI and any workflow that depended on them stops appearing; it does not affect user-authored Dags. If the example pattern was copied into in-house Dags (a fetched or XCom-derived value formatted into a bash_command), port those Dags to the fixed pattern shown in the PR, passing runtime values through env={...} with append_env=True (or as templated arguments) so the shell never parses them as command text, and adopt the added check-example-dag-shell-commands pre-commit hook to catch regressions; rewriting custom Dags is a code change and requires review and redeployment, and it does not remediate the shipped example Dag itself. Additional context is in the oss-security advisory (https://seclists.org/oss-sec/2026/q4/591) and the Apache thread (https://lists.apache.org/thread.html/p53zxybld58wv722c7zxk0w8d2rnkfwk).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code lives in Airflow's shipped example Dags (airflow-core example_dags/example_dag_decorator.py), which are copied into real deployments and therefore serve as a template for user-authored pipelines. The Dag fetches a URL over HTTP, parses the returned external IP with Python's ipaddress.ip_address() as a validation gate, and then formats that validated value into an f-string bash_command handed to BashOperator, which executes it through a shell - the classic CWE-78 pattern of validation that is not the same as shell-safe encoding. The validation is bypassable because ipaddress accepts IPv6 zone/scope identifiers (the % suffix, RFC 4007 style) with essentially arbitrary trailing characters, so an attacker-controlled or redirecting HTTP endpoint can return a value that passes ipaddress but carries shell metacharacters into the command text. Our independent assessment scores the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - network reachable and low complexity, but gated on an actor holding permission to trigger that specific Dag (published feeds score PR:N, hence the disagreement on reachability). The upstream fix in PR 73787 stops building command text from runtime values: the task now returns str(ipaddress.ip_address(external_ip)) and the value reaches BashOperator only via env={...} with append_env=True, so the shell never parses it. The same PR hardens other example Dags (example_bash_decorator, example_bash_operator, edge3 integration test) and adds a pre-commit check, check-example-dag-shell-commands, that flags example Dags assembling shell commands from runtime values with f-strings, str.format or %. Note the mechanism here is incomplete-fix lineage from CVE-2025-54941 rather than a newly introduced code path.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Triggering the Dag requires authenticated Airflow access (PR:L); injected shell commands run on the worker, giving full code execution, so C:H/I:H/A:H rather than the input's A:N.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Executive ViewAI
A critical command injection vulnerability in Apache Airflow's bundled example DAG (CVE-2026-101031) allows an attacker who can trigger the DAG with a custom parameter to execute arbitrary shell commands on worker nodes. Since this is an incomplete fix for a prior CVE, organizations that upgraded to address CVE-2025-54941 remain at risk unless they upgrade again to version 3.4.0. Leadership should care because exploitation could lead to full worker compromise, data exfiltration, or lateral movement, though the practical risk is significantly reduced by disabling example DAGs in production.
Apply vendor patch. As an interim mitigation, set load_examples = False in airflow.cfg to remove exposure if upgrading is not immediately possible. Additionally, restrict who can trigger DAGs and monitor for suspicious shell activity on workers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-119897
NVD
CVE.org
EPSS
Exploit-DB