Skip to main content

Apache Airflow CVE-2026-33264

| EUVDEUVD-2026-42030 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-07-07 apache GHSA-2943-9672-r45w
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Obtain DAG-author access
  2. Delivery
    Author DAG with malicious trigger class path
  3. Exploit
    Scheduler/API Server deserializes serialized DAG
  4. Execution
    import_string() loads attacker class
  5. Persist
    Arbitrary code executes in privileged process
  6. Impact
    RCE crossing Airflow security boundary

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

Exploitation requires the attacker to be able to author or submit a DAG to the target Airflow deployment and to embed a malicious trigger whose kwargs carry an attacker-chosen class path; the payload fires when the Scheduler or API Server deserializes that serialized DAG via the unrestricted BaseSerialization.deserialize()/import_string() path in versions before 3.3.0. What limits exploitation: it is not anonymous remote code execution despite the CVSS PR:N - the attacker needs DAG-author capability (write access to the DAGs folder/repo or DAG-submission API), so deployments where DAG authors are already fully trusted face insider-only risk, while multi-tenant or delegated-authoring environments are exposed. The defense-in-depth control [core] allowed_deserialization_classes, if already set to a narrow allowlist, further constrains or blocks exploitation by preventing import of arbitrary classes.

Impact

The published CVSS 3.1 vector is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), implying trivial unauthenticated network RCE, but this conflicts with the description, which states the attacker must be a DAG author who embeds a malicious trigger - a semi-trusted role, not an anonymous remote actor. That gap should be treated as PR:N-overstated: realistic exploitation requires the ability to author or submit a DAG, so the honest privilege requirement is low-privilege authenticated (see assessed vector). Corroborating the lower urgency, EPSS is only 0.69% (48th percentile), there is no CISA KEV listing (not actively exploited), and no public exploit was identified at time of analysis; the impact if reached is nonetheless total (RCE with full C/I/A on the Scheduler/API Server and a security-boundary crossing). No SSVC decision data was provided. Net: a high-impact, boundary-crossing bug that is a clear priority for multi-tenant or untrusted-DAG-author environments, but lower real-world urgency where DAG authors are already fully trusted and no exploit is circulating.

Exploit ScenarioDerived

A user with DAG-authoring access to a shared Airflow instance writes a DAG containing a deferred task whose trigger kwargs reference an attacker-controlled dotted class path. When the Scheduler or API Server loads and deserializes that serialized DAG, import_string() imports and instantiates the malicious class, executing arbitrary code in the privileged process. No public proof-of-concept was identified, but the low attack complexity means a knowledgeable DAG author could reliably reproduce it once they can get a DAG loaded.

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

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

Alert me

AnalysisAIv3 – Jul 07, 2026

Remote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controlled class path is loaded via an unrestricted import_string() when the Scheduler or API Server deserializes the serialized DAG, executing arbitrary code in those privileged processes and breaking the core Airflow boundary that DAG-author code must never run in the Scheduler/API Server. Reported by Apache with a fix in 3.3.0, it currently has no public exploit identified and a low EPSS of 0.69% (48th percentile), and it is not listed in CISA KEV. The practical severity depends heavily on how much a deployment trusts its DAG authors, since exploitation requires the ability to submit a DAG.

Earlier versions of this analysis (2)
v2 Jul 07, 2026 - 16:29 cvss changed CVSS 9.8

Remote code execution in Apache Airflow before 3.3.0 lets a DAG author cross Airflow's core security boundary and execute arbitrary code inside the Scheduler and API Server processes. The flaw lives in BaseSerialization.deserialize(), which performed an unrestricted import_string() on attacker-controlled class paths embedded in a serialized DAG's trigger kwargs, so any user permitted to write DAGs can pivot to code execution in privileged control-plane processes. Rated CVSS 9.8; there is no public exploit identified at time of analysis and EPSS is modest (0.69%), but the deserialization-to-import primitive is well understood.

v1 Jul 07, 2026 - 10:35

Remote code execution in Apache Airflow (all versions prior to 3.3.0) allows a DAG author to break the Airflow trust boundary and run arbitrary code inside the Scheduler and API Server processes. The flaw stems from BaseSerialization.deserialize() calling import_string() on attacker-controlled class paths embedded in a serialized DAG (notably via a malicious trigger), letting DAG-author code execute in the privileged components that are supposed to be isolated from it. No public exploit identified at time of analysis; the fix and issue were disclosed by Apache, and a defense-in-depth allowlist config exists.

RemediationAI

Vendor-released patch: upgrade apache-airflow to 3.3.0 or later, which removes the eager BaseSerialization.deserialize() of stored trigger/next kwargs in the Scheduler and API Server (upstream fixes in https://github.com/apache/airflow/pull/66002 and https://github.com/apache/airflow/pull/68528; see the advisory at https://lists.apache.org/thread/otvdw8qt2y7xy2n5nq9xby9ky4rf5ltj). Where immediate upgrade is not possible and DAG-author trust is limited, apply the vendor's defense-in-depth mitigation by setting [core] allowed_deserialization_classes to a narrow allowlist of only the classes your DAGs legitimately deserialize, which blocks import of arbitrary attacker class paths - with the trade-off that an over-tight allowlist can break legitimate triggers/operators and requires inventorying the classes your deployment actually uses. Additionally restrict who can author or submit DAGs (git-sync source control, review gates, and limited API/DAG write access) to shrink the attacker population until the upgrade is completed.

Affected VersionsENISA

Apache Airflow 0 <3.3.0

Affected Packages

pypi apache-airflow fix: 3.3.0

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

The root cause is CWE-502 (Deserialization of Untrusted Data): BaseSerialization.deserialize() invoked Python's import_string() on class paths taken directly from serialized trigger kwargs without any allowlist, so an attacker-chosen dotted class path would be imported and instantiated. In Airflow, deferred tasks persist trigger_kwargs and next_kwargs that are later read back; the vulnerable code path (deserialize_kwargs calling BaseSerialization.deserialize on stored trigger_kwargs/next_kwargs in serialized_objects.py) ran inside the Scheduler and API Server processes rather than only in the isolated worker/triggerer context. The upstream fix (PRs 66002 and 68528) stops eagerly deserializing those stored kwargs - passing the raw var values through instead - and normalizes Encoding enum keys via a new stringify_encoding_keys() helper so the encrypted blob round-trips without re-invoking the dangerous deserializer, effectively removing the untrusted import_string() call from the privileged load path.

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

Attacker must have DAG-author privileges (PR:L) rather than none; code path is low-complexity; S:C because DAG-author code escapes its zone to execute in the separately-trusted Scheduler/API Server, with full C/I/A.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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 VectorVendor: apache

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

Lifecycle Timeline

3
Analysis Updated
Jul 07, 2026 - 16:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 07, 2026 - 16:29 vuln.today
v2 - CVSS changed
CVSS changed
Jul 07, 2026 - 16:22 NVD
9.8 (CRITICAL)

DescriptionCVE.org

A bug in BaseSerialization.deserialize() allowed unrestricted import_string() of attacker-controlled class paths when the Scheduler / API Server loaded a serialized DAG: a DAG author could embed a malicious trigger into a DAG to gain remote code execution on the API Server / Scheduler process, crossing the Airflow security boundary that DAG-author code must never execute in those processes. Users are advised to upgrade to apache-airflow 3.3.0 or later. As a defense-in-depth mitigation, deployments where DAG-author trust is limited can restrict the [core] allowed_deserialization_classes config to a narrow allowlist.

Executive ViewAI

Why It Matters

Apache Airflow before version 3.3.0 contains a critical vulnerability allowing DAG authors to run code in the Scheduler and API Server processes, risking pipeline integrity and data security. Exploitation likelihood is currently low (EPSS 0.7%, no public exploit identified at time of analysis, not listed in CISA KEV), but this privilege escalation risk warrants upgrading to 3.3.0 within one week.

Business Impact: Severe
Compensating Controls

Apply vendor patch (Apache Airflow 3.3.0 or later). Interim controls if patching is delayed: (1) Restrict DAG submission permissions to pre-vetted internal personnel; (2) Mandate code review and approval before any DAG deployment; (3) Enable comprehensive audit logging on Scheduler and API Server process execution; (4) Implement network segmentation isolating Airflow infrastructure from sensitive systems.

Threat Intelligence Overview

EPSS Score
0.7%
Top 52% exploitable
Prevalence
High
widely deployed enterprise data-pipeline orchestrator across many organizations
Threat Intel
1
1 sources
Social Media
5
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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