CVE-2025-5174
Python vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-5174) was discovered in erdogant pypickle versions up to 1.1.5, affecting the load function in pypickle/pypickle.py. The vulnerability involves insecure deserialization that could lead to remote code execution. The issue was disclosed on May 16, 2025, and was patched in version 2.0.0 (Github Issue, NVD).

Technical details

The vulnerability stems from the load() function using Python's pickle.load() without proper input validation or sanitization. The issue is classified under CWE-502 (Deserialization of Untrusted Data) and CWE-20 (Improper Input Validation). The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high potential impact (NVD).

Impact

The vulnerability allows attackers to execute arbitrary code when a malicious pickle file is loaded, potentially leading to remote system compromise. The attack requires local access to be successful, but can result in complete system compromise through arbitrary command execution (Github Issue, Wiz).

Mitigation and workarounds

The vulnerability has been fixed in pypickle version 2.0.0. The update includes several security mechanisms: implementation of validation checks for high-risk modules before loading, restrictions on save locations, and path traversal detection. Users are strongly recommended to upgrade to version 2.0.0. The patch is identified as 14b4cae704a0bb4eb6723e238f25382d847a1917 (Github Release).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22033HIGH8.6
  • PythonPython
  • label-studio
NoNoJan 12, 2026
CVE-2025-68472HIGH8.1
  • PythonPython
  • mindsdb
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf2
NoYesJan 10, 2026
CVE-2026-22250LOW2.5
  • PythonPython
  • wlc
NoYesJan 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management