Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain DAG-author access
-
DeliveryAuthor DAG with malicious trigger class path
-
ExploitScheduler/API Server deserializes serialized DAG
-
Executionimport_string() loads attacker class
-
PersistArbitrary code executes in privileged process
-
ImpactRCE 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.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.
Blast Radius
ecosystem impact- 4 pypi packages depend on apache-airflow (2 direct, 2 indirect)
Ecosystem-wide dependent count for version 3.3.0.
Articles & Coverage 1
Executive ViewAI
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.
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
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
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.
More in Apache Airflow
View allArbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'
Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha
Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i
Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a
Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i
Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve
Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv
Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__
Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w
CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera
Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf
Authorization bypass in Apache Airflow's Backfill API (all versions prior to 3.3.1) allows any authenticated user holdin
EUVD-2026-42030
GHSA-2943-9672-r45w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB