Skip to main content

pyod CVE-2026-15529

| EUVDEUVD-2026-43275 MEDIUM
Deserialization of Untrusted Data (CWE-502)
2026-07-13 VulDB GHSA-997v-r4v7-9f3g
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain low-privilege authenticated access
  2. Delivery
    Influence path argument to persistence.load
  3. Exploit
    Stage crafted malicious serialized file at target path
  4. Execution
    Trigger model load operation
  5. Persist
    Deserialize malicious payload
  6. Impact
    Execute arbitrary code in process 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 that the attacker holds low-privilege authenticated access (confirmed by CVSS PR:L) to a system or application that invokes pyod.utils.persistence.load with a path argument the attacker can influence. The target must be running pyod version 3.5.0, 3.5.1, or 3.5.2. The attacker must also be able to stage a crafted serialized file at a path the target process will access - either by uploading it to the server, pointing to an attacker-controlled network path, or exploiting a path traversal condition. Exploitation is meaningfully limited by the authenticated access prerequisite; deployments that do not expose the persistence.load call path to any user-controllable input, or that restrict path values to a static allowlist of trusted local files, are not exploitable under this vector.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) yields a score of 5.3, indicating moderate severity. The PR:L requirement is the primary limiting factor, constraining exploitation to authenticated users with some level of access - unauthenticated remote exploitation is not supported by this vector. However, the VC:L/VI:L/VA:L impact ratings warrant scrutiny: CWE-502 deserialization flaws in Python (especially pickle-based) can in practice produce arbitrary code execution, which would typically merit higher C and I impact ratings. This suggests the provided metrics may conservatively scope the real-world blast radius, or the application's exposure of the load function is access-controlled. No EPSS score was provided, limiting probabilistic exploitation forecasting. No CISA KEV listing and no identified public exploit code reduce immediate urgency. The upstream fix exists only as a GitHub PR (#698) with no confirmed PyPI release, meaning no patched package version is independently verifiable at time of analysis - deployments on affected versions remain exposed.

Exploit ScenarioDerived

An authenticated user with low-privilege access to an application that wraps pyod.utils.persistence.load stages a crafted malicious pickle file on an attacker-controlled path - either uploaded to the target host or accessible via a file path the application will follow - and then triggers a model-load operation with the manipulated path argument. When pyod deserializes the file, the embedded malicious Python object executes arbitrary code in the context of the application's process. No public exploit code has been identified at time of analysis, but the attack technique is well-documented for Python pickle deserialization.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 13, 2026

Unsafe deserialization in pyod 3.5.0-3.5.2 exposes the pyod.utils.persistence.load function to remote exploitation by authenticated low-privilege users who can manipulate the path argument. Rooted in CWE-502 (Deserialization of Untrusted Data), the flaw allows a crafted serialized payload supplied via the path parameter to be deserialized without adequate validation, potentially yielding code execution or data manipulation within the running process. No public exploit code has been identified at time of analysis, and no CISA KEV listing exists; an upstream fix is available as GitHub PR #698, though a formally versioned PyPI release incorporating the patch has not been independently confirmed.

RemediationAI

The primary remediation is to apply the upstream patch from GitHub pull request #698 (https://github.com/yzhao062/pyod/pull/698) once a tagged release incorporating the fix is published to PyPI; no formally versioned patched release has been independently confirmed at time of analysis, so monitor the pyod releases page and PyPI listing for an update. As an immediate compensating control, avoid passing any user-controlled, network-derived, or otherwise untrusted values to pyod.utils.persistence.load - restrict the path argument strictly to allowlisted, locally trusted file paths. If the persistence load function is exposed through an API or service layer, enforce authentication and role-based authorization to ensure only trusted operators can invoke it. Consider running deserialization operations in isolated process sandboxes (e.g., via subprocess with restricted OS permissions) to contain the blast radius if exploitation occurs. Pinning pyod to a pre-3.5.0 version may be appropriate as a short-term measure, contingent on verifying that earlier versions do not share the same code path.

Affected VersionsENISA

pyod 3.5.0
pyod 3.5.2
pyod 3.5.1

Affected Packages

pypi pyod fix: 3.6.2

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

pyod (Python Outlier Detection) is an open-source Python library by yzhao062 providing algorithms for anomaly detection in machine learning pipelines. The affected component, pyod.utils.persistence.load in pyod/utils/persistence.py, is responsible for loading serialized model artifacts - most likely via Python's pickle or joblib deserialization mechanisms. CWE-502 (Deserialization of Untrusted Data) manifests when the path argument accepted by this function is attacker-influenced and passed directly to a deserialization routine without allowlisting or integrity validation. Deserializing attacker-controlled data using pickle-based formats is a well-known arbitrary code execution primitive in Python environments. Affected CPE is cpe:2.3:a:yzhao062:pyod:*:*:*:*:*:*:*:*, with versions 3.5.0, 3.5.1, and 3.5.2 explicitly confirmed. The GitHub issue tracker entry is https://github.com/yzhao062/pyod/issues/697.

Know when Pyod 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 (VulDB) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.3 MEDIUM

Network-reachable deserialization requiring low-privilege authentication; no scope change and limited C/I/A impact consistent with constrained deployment exposure.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

DescriptionCVE.org

A vulnerability was detected in yzhao062 pyod 3.5.0/3.5.1/3.5.2. Affected is the function pyod.utils.persistence.load of the file pyod/utils/persistence.py. Performing a manipulation of the argument path results in deserialization. The attack can be initiated remotely. The pull request to fix this issue requires some minor changes.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche ML anomaly detection Python library, limited enterprise production footprint
Data Quality
7 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

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