Skip to main content

ZenML CVE-2026-68772

| EUVDEUVD-2026-54524 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-08-07 VulnCheck GHSA-p65j-fxc2-99ww
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain write access to shared artifact store
  2. Delivery
    Replace legitimate artifact.pkl with crafted cloudpickle payload
  3. Exploit
    Wait for victim user or pipeline to materialize artifact
  4. Execution
    cloudpickle.load() deserializes payload without hash check
  5. Impact
    Execute 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.

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

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

Alert me

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

ZenML 0 ≤0.94.6

Affected Packages

euvd zenml no fix

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 8.0 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche MLOps framework, primarily adopted by ML engineering teams
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

More in Zenml

View all
CVE-2024-2083 CRITICAL POC
9.9 Apr 16

A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps endpo

CVE-2024-4680 HIGH POC
8.8 Jun 08

A vulnerability in zenml-io/zenml version 0.56.3 allows attackers to reuse old session credentials or session IDs due to

CVE-2024-25723 HIGH POC
8.8 Feb 27

ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because t

CVE-2025-8406 HIGH POC
7.8 Oct 05

ZenML 0.83.1 can be induced to write files outside the intended extraction directory when PathMaterializer.load processe

CVE-2024-2035 MEDIUM POC
6.5 Jun 06

An improper authorization vulnerability exists in the zenml-io/zenml repository, specifically within the API PUT /api/v1

CVE-2024-5062 MEDIUM POC
6.1 Jun 30

A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1. Rated medium sever

CVE-2024-2383 MEDIUM POC
6.1 Jun 06

A clickjacking vulnerability exists in zenml-io/zenml versions up to and including 0.55.5 due to the application's failu

CVE-2024-4311 MEDIUM POC
5.4 Nov 14

zenml-io/zenml version 0.56.4 is vulnerable to an account takeover due to the lack of rate-limiting in the password chan

CVE-2024-2171 MEDIUM POC
4.8 Jun 06

A stored Cross-Site Scripting (XSS) vulnerability was identified in the zenml-io/zenml repository, specifically within t

CVE-2024-28424 HIGH
8.8 Mar 14

zenml v0.55.4 was discovered to contain an arbitrary file upload vulnerability in the load function at /materializers/cl

CVE-2024-2260 MEDIUM POC
4.2 Apr 16

A session fixation vulnerability exists in the zenml-io/zenml application, where JWT tokens used for user authentication

CVE-2024-2213 LOW POC
3.3 Jun 06

An issue was discovered in zenml-io/zenml versions up to and including 0.55.4. Rated low severity (CVSS 3.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy