GHSA-2r5m-76wx-56gx
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain DAG-author or metadata write access
-
DeliveryCraft serialized DeadlineReference with malicious __class_path
-
ExploitSubmit DAG/deadline to Airflow
-
ExecutionScheduler deserializes reference
-
Persistimport_string() loads attacker-chosen module
-
ImpactModule top-level code executes in scheduler context
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 control the __class_path value inside a serialized custom DeadlineReference payload that the Airflow scheduler will deserialize - in practice this means the ability to author or modify a DAG that uses a custom DeadlineReference subclass, or to write into the Airflow metadata database holding serialized DAGs/deadlines. The attacker is further limited to importable Python modules already installed on the scheduler host, so impact depends on which packages are present and what side effects their import triggers. CVSS marks PR:N, but the realistic prerequisite is some level of access to DAG content or metadata storage; vulnerable deployments are those running Apache Airflow < 3.2.2 where untrusted users can introduce or alter DAG/deadline definitions. |
| Impact | Signals here are mixed and lean toward a moderate, not urgent, priority. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N reads as remote, unauthenticated, and low-complexity, which would normally flag an emergency - however the scope is unchanged and impact is only Low across CIA, reflecting that the attack imports a module rather than executing arbitrary code via pickle. EPSS at 0.02% (6th percentile) and absence from CISA KEV indicate no observed exploitation, and no public PoC is referenced. The PR:N rating is worth scrutinizing: in practice an attacker must be able to inject a malicious __class_path into serialized deadline data the scheduler processes, which typically requires the ability to author or modify a DAG file or directly tamper with the metadata DB - both of which usually require some authenticated foothold despite the PR:N label. Treat as a real-but-internal-trust-boundary bug, important to patch in shared multi-tenant Airflow deployments but unlikely to be the target of mass exploitation. |
| Exploit ScenarioDerived | An attacker with the ability to publish or modify a DAG (for example, a tenant with DAG-author privileges in a shared Airflow deployment) crafts a serialized DeadlineReference whose __class_path points to an arbitrary Python module. When the scheduler deserializes the DAG, it imports the referenced module, executing its top-level code and producing limited integrity, confidentiality, or availability effects depending on the chosen module. No public PoC is referenced in the available intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Arbitrary Python module import in Apache Airflow versions prior to 3.2.2 occurs when the scheduler deserializes custom DeadlineReference objects, because the prior implementation called import_string() directly on an attacker-controllable __class_path field. Rated CVSS 7.3 with low confidentiality/integrity/availability impact, this issue has no public exploit identified at time of analysis and EPSS estimates exploitation probability at 0.02% (6th percentile).
RemediationAI
Upgrade Apache Airflow to version 3.2.2 or later, which replaces the unrestricted import_string() call in deadline deserialization with a plugin-registry lookup (see PR https://github.com/apache/airflow/pull/66737 and the Apache announcement at https://lists.apache.org/thread/q227dghjwgfz8xsxrf2pwpz4wk43zm83). After upgrading, any custom DeadlineReference subclasses must be explicitly registered via the new deadline_references attribute on an AirflowPlugin, or scheduler-side deserialization will raise DeadlineReferenceNotRegistered - operators using custom deadline references should plan a small refactor to add the plugin entry. Where immediate upgrade is not possible, restrict who can author DAGs and who can write to the Airflow metadata database to trusted users only, audit existing serialized deadline payloads for unexpected __class_path values, and consider running schedulers in a sandboxed Python environment to limit the side effects of arbitrary imports; these workarounds reduce exposure but do not close the import primitive itself.
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
Apache Airflow's serialization layer (airflow/serialization/definitions/deadline.py) reconstructs custom DeadlineReference subclasses from serialized DAG/deadline metadata. Before the fix, deserialize_reference() called airflow._shared.module_loading.import_string(reference_data['__class_path']), which performs a Python import of any dotted module path supplied in the serialized payload. This is a classic CWE-502 (Deserialization of Untrusted Data) weakness: importing a module executes its top-level code, so an attacker who can influence the class_path string can trigger side effects of arbitrary importable modules within the scheduler process - including modules whose import has destructive side effects, opens network connections, or otherwise affects Python state. The patch (PR #66737) replaces the unrestricted import_string call with find_registered_custom_deadline_reference(), which only resolves classes that have been explicitly enrolled via a new AirflowPlugin.deadline_references registry, matching the existing pattern Airflow uses for custom timetables and partition mappers.
Know when 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:L/I:L/A:L
Primary rating from Vendor (CNA) · only source for this CVE.
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Blast Radius
ecosystem impact- 9 pypi packages depend on apache-airflow (5 direct, 4 indirect)
Ecosystem-wide dependent count for version 3.2.2.
Executive ViewAI
Apache Airflow versions prior to 3.2.2 are vulnerable to arbitrary code execution through malicious serialized objects processed by the scheduler, potentially compromising data pipeline integrity and enabling unauthorized access to orchestrated infrastructure. Organizations operating Airflow should prioritize patching to prevent attackers from injecting and executing arbitrary Python code within their data workflows.
Apply vendor patch.
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.
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th
An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou
Insufficient session expiration in apache-airflow-providers-fab 2.4.2 through 3.9.0 means an attacker who already holds
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.6.0. Rated critical severit
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Fou
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
EUVD-2026-33587
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB