Skip to main content

Apache Airflow CVE-2026-58076

| EUVDEUVD-2026-57315 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-08-12 apache GHSA-8prw-8m6x-8w6f
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain DAG-author access
  2. Delivery
    Craft executor_config with arbitrary callable reference
  3. Exploit
    Deploy malicious DAG to Airflow
  4. Execution
    Scheduler auto-deserializes DAG in processing loop
  5. Persist
    Arbitrary callable executed in Scheduler context
  6. Impact
    Exfiltrate database credentials and JWT secret

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold DAG-author access - specifically the ability to write to the DAG directory or submit a DAG containing a crafted executor_config on any operator. No non-default Airflow configuration is required; the vulnerable deserialization path is exercised unconditionally during normal Scheduler operation and on any authenticated API call to GET /api/v2/dags/{dag_id}/details. The Scheduler trigger fires automatically without any further attacker interaction once the malicious DAG is deployed. The API server trigger requires an authenticated user (any role that can read DAG details) to issue a GET request, but the attacker does not need to perform this step themselves - any legitimate API read by another user suffices. What limits exploitation is solely the DAG-author role requirement: environments with strict separation of DAG deployment from production Airflow infrastructure materially reduce exposure. Versions outside the 3.0.0-3.3.0 range are not confirmed affected based on available data.

Impact

The CVSS 8.8 score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the threat: network-reachable, low complexity, requiring only DAG-author-level access. The PR:L designation is the key limiting factor - exploitation is gated on the ability to author and deploy DAGs, which in well-administered environments is a controlled role. However, this barrier is much lower than it appears in multi-tenant Airflow deployments, data-platform-as-a-service offerings, or organizations where data engineers broadly have DAG write access; even a mid-sized organization running Airflow for their analytics pipelines should treat this as urgent given the credential exposure in both Scheduler and API server. EPSS of 0.28% at the 20th percentile indicates low current exploitation activity, and the vulnerability is not listed in CISA KEV, suggesting no confirmed in-the-wild exploitation at time of analysis. The real-world risk is elevated beyond what EPSS suggests because the exploit primitive (submitting a crafted DAG) is inherent to normal Airflow usage, requiring no vulnerability-specific tooling. The relationship to CVE-2026-33264 is a significant operational risk amplifier: organizations that already patched and may have lowered their alert posture are still fully exposed through the exception branch.

Exploit ScenarioDerived

An attacker with DAG-author access crafts an operator whose executor_config encodes a BASE_EXC_SER blob naming subprocess.check_output as the exception class and a shell command as its arguments. Once the DAG is committed to the DAG folder or uploaded via the API, the Scheduler reconstructs it in its normal processing loop, triggering import and execution of subprocess.check_output with the attacker's arguments - granting arbitrary OS command execution under the Scheduler's service account, which has access to database credentials and the JWT signing secret. No public exploit code has been identified at time of analysis, but the attack primitive is straightforward given the vulnerability description and the PR diff.

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

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

Alert me

AnalysisAIv2 – Aug 14, 2026

Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution in the Scheduler and API server by placing a crafted value in an operator's executor_config field. The serialization layer reconstructed exception nodes by calling import_string() on an attacker-controlled class name with no allowlist, enabling import and invocation of arbitrary callables such as subprocess.check_output or builtins.eval. Both affected components hold the metadata database credentials and JWT signing secret, making full infrastructure compromise a realistic outcome. No public exploit has been identified at time of analysis, but no non-default configuration is required. This is a distinct sink from CVE-2026-33264, meaning deployments that already patched that earlier advisory remain fully vulnerable and must upgrade again to apache-airflow 3.3.1.

Earlier versions of this analysis (1)
v1 Aug 12, 2026 - 16:25

Remote code execution in Apache Airflow's serialization layer allows DAG authors to execute arbitrary Python callables - including subprocess.check_output and builtins.eval - inside the Scheduler and API server processes by embedding crafted exception class names in operator executor_config fields. Both affected components are explicitly outside Airflow's DAG execution sandbox and hold the metadata database credentials and the platform-wide JWT signing secret, making successful exploitation equivalent to full platform compromise. This is a distinct exploitation sink from CVE-2026-33264, so deployments that already patched that advisory remain fully exposed through the exception deserialization branch and must upgrade to apache-airflow 3.3.1 or later; no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to apache-airflow 3.3.1 or later, which replaces the unconstrained import_string() call in the exception deserialization path with a restricted resolver (_resolve_airflow_exception) that only allows classes already present in sys.modules that are confirmed subclasses of AirflowException, and limits builtin exception reconstruction to a hardcoded allowlist of KeyError and AttributeError. The upstream fix is available in GitHub PR https://github.com/apache/airflow/pull/68511. The vendor advisory is at https://lists.apache.org/thread/t81p688t15jozxsng8521o60nh2kfsos. If immediate upgrade is not possible, the most effective compensating control is to restrict DAG author access to only fully trusted personnel, since the exploit requires the ability to deploy a DAG containing a crafted executor_config. Disabling the REST API endpoint GET /api/v2/dags/{dag_id}/details eliminates one trigger path but does not protect the Scheduler, which exercises the vulnerable code path automatically and continuously. Network-level ACLs on the Scheduler or API server are ineffective because the vulnerability is triggered by already-persisted DAG content, not by inbound network requests at exploitation time.

Affected VersionsENISA

Apache Airflow 3.0.0 <3.3.1

Affected Packages

pypi apache-airflow fix: 3.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Airflow uses a serialization layer (airflow/serialization/serialized_objects.py) to persist and reconstruct DAG objects, including exception nodes encoded as BASE_EXC_SER blobs. Prior to the fix, the deserializer called import_string() - a dynamic module importer - on a class name taken verbatim from the serialized blob, then instantiated it with attacker-supplied arguments. CWE-502 (Deserialization of Untrusted Data) is the root cause: the application trusted the type information embedded in the serialized payload without validation. The affected CPE is cpe:2.3:a:apache_software_foundation:apache_airflow:*:*:*:*:*:*:*:* covering versions 3.0.0 to below 3.3.1. The executor_config field on operators flows through this deserialization path, which is exercised both by the Scheduler during its normal DAG reconstruction loop and by the API server on authenticated GET /api/v2/dags/{dag_id}/details requests. Both components operate outside the Airflow security model's intended trust boundary for DAG-author code, yet both reached the vulnerable branch unconditionally.

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 HIGH
NVD 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

DAG-author access (PR:L) is the sole prerequisite; Scheduler processes the payload automatically over the network path, with full C/I/A impact on credential-holding components.

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:H/SI:H/SA:H

Primary rating from Vendor (apache).

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Aug 14, 2026 - 19:30 vuln.today
v2 - CVSS changed
CVSS changed
Aug 14, 2026 - 19:22 NVD
8.8 (HIGH)
CVE Published
Aug 12, 2026 - 15:40 cve.org
HIGH

DescriptionNVD

Apache Airflow's serialization layer reconstructed exception nodes by calling import_string() on a class name taken from the serialized blob and instantiating it with arguments from the same blob, with no restriction on what could be imported. An operator's executor_config reaches that branch, so a Dag author could place a value there that causes an arbitrary callable to be imported and invoked -- for example subprocess.check_output, or builtins.eval on the builtins-prefixed variant. The code runs in the Scheduler, which reconstructs serialized Dags in its normal loop with no request involved, and in the API server, on any authenticated read of the Dag such as GET /api/v2/dags/{dag_id}/details. Both are components the Airflow security model states must never execute Dag-author code, and both hold the metadata database credentials and the JWT signing secret. No non-default configuration is required. This is a different sink from CVE-2026-33264, which covered only the trigger branch of the same deserializer: deployments that upgraded in response to that advisory are still affected through the exception branch and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later, which restricts the imported class to a subclass of BaseException.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 pypi packages depend on apache-airflow (2 direct, 2 indirect)

Ecosystem-wide dependent count for version 3.3.0.

Executive ViewAI

Why It Matters

Apache Airflow versions 3.0.0-3.3.0 contain a critical deserialization vulnerability allowing authorized DAG authors to execute arbitrary code on core infrastructure components, potentially exposing database credentials and authentication secrets. Organizations running these versions face complete infrastructure compromise from insider threats or compromised accounts with DAG authorship privileges.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
widely deployed workflow orchestration platform in enterprise data engineering
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.3%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

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

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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-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-30898 HIGH
8.8 Apr 18

Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv

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