Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to shared artifact store
-
DeliveryReplace legitimate artifact.pkl with crafted cloudpickle payload
-
ExploitWait for victim user or pipeline to materialize artifact
-
Executioncloudpickle.load() deserializes payload without hash check
-
ImpactExecute arbitrary OS commands as pipeline runner process
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 two specific, concurrent conditions: first, the attacker must hold write access to the ZenML artifact store backend (e.g., S3 bucket, GCS bucket, Azure Blob, or local filesystem) where ZenML artifacts are persisted - this is the PR:L condition in the CVSS vector. Second, a legitimate user, scheduled pipeline, or automated CI/CD job must subsequently call a ZenML materialization operation that loads the tampered artifact (UI:A in the CVSS vector). Exploitation is limited to deployments where the artifact store is shared across multiple users or pipelines, as a single-user local deployment would require the attacker to already have local system access. The vulnerability is not exploitable against default single-user ZenML configurations where only the local user writes artifacts. Non-default configuration required: shared, multi-user artifact store backend accessible to more than one principal. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A) scores 8.5, reflecting a network-reachable attack requiring low privilege and active user interaction. Real-world risk is meaningfully constrained by two prerequisites: the attacker must already hold write access to the shared artifact store, and a legitimate user or automated pipeline must subsequently materialize the tampered artifact (UI:A). These conditions limit opportunistic exploitation - this is not a fire-and-forget remote attack. However, in multi-tenant or collaborative ML environments where artifact stores are shared across teams, these conditions may be easily satisfied. There is no KEV listing and no confirmed public exploit code, and no EPSS score was provided in the input data. The CVSS 4.0 score of 8.5 is appropriate given full RCE impact once preconditions are met, but the real-world urgency is moderate: organizations using shared ZenML artifact stores with multiple contributors face higher risk than single-user deployments. The absence of scope change (SC:N/SI:N/SA:N) means blast radius is limited to the system running the materializer. |
| Exploit ScenarioDerived | An attacker who has compromised a service account or team member account with write access to a shared ZenML artifact store replaces a frequently-used artifact.pkl file with a crafted cloudpickle payload whose __reduce__ method spawns a reverse shell or exfiltrates credentials. The next time any legitimate user or scheduled pipeline step materializes that artifact - a normal ML workflow operation - the malicious code executes in the context of the pipeline runner, potentially with access to model weights, training data, and cloud credentials mounted in that environment. No public proof-of-concept exploit is identified at time of analysis, but constructing a malicious cloudpickle payload exploiting __reduce__ is well-documented and widely understood. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
Remote code execution in ZenML 0.94.6 allows any attacker with write access to a shared artifact store to plant a malicious cloudpickle payload that executes arbitrary system commands when a legitimate user or pipeline materializes the tampered artifact. The root cause is unsanitized deserialization via cloudpickle.load() in CloudpickleMaterializer without any integrity verification of the stored artifact.pkl file before loading. No public exploit code has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the attack is conceptually straightforward for any attacker with artifact store write access in a multi-user ZenML deployment.
RemediationAI
The upstream fix is available via GitHub commit bbf8496d049a7e23800bc31b87b10b4fefbebe18 (https://github.com/zenml-io/zenml/commit/bbf8496d049a7e23800bc31b87b10b4fefbebe18) and PR #5103 (https://github.com/zenml-io/zenml/pull/5103); however, a specific patched tagged release version is not independently confirmed from the available data - users should monitor the ZenML release channel at https://github.com/zenml-io/zenml and upgrade to the first release incorporating this commit. As an immediate compensating control, restrict write access to shared artifact stores to the minimum set of trusted principals, removing write permissions for any non-essential users or pipeline service accounts - this directly eliminates the attacker's ability to plant the malicious payload. Additionally, audit artifact store access logs for unexpected write operations to artifact.pkl files. Avoid using CloudpickleMaterializer for artifacts materialized across trust boundaries until the patched version is deployed; where possible, substitute a type-safe materializer that does not rely on pickle deserialization. VulnCheck advisory is available at https://www.vulncheck.com/advisories/zenml-remote-code-execution-via-cloudpicklematerializer.
Affected VersionsENISA
Affected Packages
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
ZenML is a Python MLOps framework for orchestrating ML pipelines. Its CloudpickleMaterializer (cloudpickle_materializer.py) serializes and deserializes arbitrary Python objects using the cloudpickle library, which extends Python's native pickle protocol. CWE-502 (Deserialization of Untrusted Data) is the root cause: cloudpickle.load() reconstructs Python objects by executing __reduce__ methods embedded in the pickle stream, enabling arbitrary code execution if the serialized data is attacker-controlled. The affected CPE cpe:2.3:a:zenml:zenml:*:*:*:*:*:*:*:* with a wildcard version suggests the missing integrity check is a longstanding design gap, not limited to a single release. The fix (PR #5103, commit bbf8496d) introduces SHA-256 content hashing at save time via a CallbackWriter proxy, stores the hash in artifact version metadata, and validates it before calling cloudpickle.loads() at load time - raising a RuntimeError on mismatch, preventing tampered payloads from executing.
Know when Zenml 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Low-privilege write access to artifact store required; active user must materialize the artifact (UI:R); full RCE impact but no scope change beyond the vulnerable system.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
ZenML 0.94.6 contains a remote code execution vulnerability in the CloudpickleMaterializer component that allows attackers with write access to a shared artifact store to execute arbitrary code by planting a malicious pickle file. Attackers can replace a stored artifact.pkl file with a crafted cloudpickle payload containing a malicious __reduce__ method, which executes arbitrary system commands when any user or pipeline materializes the artifact through the unsanitized cloudpickle.load() call in cloudpickle_materializer.py.
Executive ViewAI
ZenML 0.94.6 contains a high-severity remote code execution vulnerability in its artifact storage system that could be exploited by users with write access to compromise data pipelines and infrastructure. Organizations using ZenML in multi-user environments face direct risk to pipeline integrity, data security, and system availability.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps endpo
A vulnerability in zenml-io/zenml version 0.56.3 allows attackers to reuse old session credentials or session IDs due to
ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because t
ZenML 0.83.1 can be induced to write files outside the intended extraction directory when PathMaterializer.load processe
An improper authorization vulnerability exists in the zenml-io/zenml repository, specifically within the API PUT /api/v1
A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1. Rated medium sever
A clickjacking vulnerability exists in zenml-io/zenml versions up to and including 0.55.5 due to the application's failu
zenml-io/zenml version 0.56.4 is vulnerable to an account takeover due to the lack of rate-limiting in the password chan
A stored Cross-Site Scripting (XSS) vulnerability was identified in the zenml-io/zenml repository, specifically within t
zenml v0.55.4 was discovered to contain an arbitrary file upload vulnerability in the load function at /materializers/cl
A session fixation vulnerability exists in the zenml-io/zenml application, where JWT tokens used for user authentication
An issue was discovered in zenml-io/zenml versions up to and including 0.55.4. Rated low severity (CVSS 3.3), this vulne
EUVD-2026-54524
GHSA-p65j-fxc2-99ww
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB