Skip to main content

Apache Airflow EUVDEUVD-2026-119897

| CVE-2026-101031 CRITICAL
OS Command Injection (CWE-78)
9.1
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Airflow and trigger example Dag
  2. Delivery
    Set url param to attacker-controlled server
  3. Exploit
    Server returns IPv6 zone-id with shell metacharacters
  4. Execution
    ipaddress validation passes malicious string
  5. Persist
    Command built and run by BashOperator
  6. Impact
    Arbitrary 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Nov 09, 2026 - 09:18

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

Apache Airflow 3.0.5 <3.4.0

Affected Packages

euvd apache_airflow fix: 3.4.0

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

Vendor (CNA) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Updated
Nov 12, 2026 - 17:28 vuln.today
v2 - CVSS changed
CVSS changed
Nov 12, 2026 - 17:22 NVD
9.1 (CRITICAL)
Patch available
Nov 09, 2026 - 11:46 EUVD
CVE Published
Nov 09, 2026 - 07:17 oss-security
MEDIUM

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
Apache Airflow is widely deployed enterprise data-orchestration software
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy