Vulnerabilities in pkg:pypi/pypickle
PACKAGECVE-2025-5175 is a MODERATE (CVSS 5.3) pypickle incorrect privilege assignment vulnerability vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Pypickle libraries in the PyPI ecosystem. The issue involves pypickle incorrect privilege assignment vulnerability. Remediation is available by upgrading affected packages to version 2.0.0.
pkg:pypi/pypickle
Vulnerability advisories affecting package pkg:pypi/pypickle. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qpxx-2cwh-r5vh | CVE-2025-5175 | MODERATE | pypickle Incorrect Privilege Assignment vulnerability |
| GHSA-5qwj-342r-h886 | CVE-2025-5174 | MODERATE | pypickle unsafe deserialization vulnerability |
CVE-2025-5175 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2025-5175
To remediate this vulnerability, upgrade all affected Pypickle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pypickle>=2.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pypickle
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-5175, inspect your installed packages using pip:
pip show pypickle
Analyze the terminal output to locate any version of Pypickle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0), your application is affected.
Note: The pip show pypickle command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Pypickle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-5175 Affected Pypickle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pypickle
|
PyPI |
< 2.0.0
|
2.0.0
|
References
Frequently Asked Questions
What is CVE-2025-5175?
Which Pypickle versions are affected?
What version fixes CVE-2025-5175?
Is pypickle affected?
What is the CVSS score of CVE-2025-5175?
What CWE is associated with CVE-2025-5175?
How can I check PyPI dependencies for CVE-2025-5175?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qpxx-2cwh-r5vh",
"modified" : "2025-06-04T21:04:25Z",
"published" : "2025-05-26T09:30:45Z",
"aliases" : [ "CVE-2025-5175" ],
"summary" : "pypickle Incorrect Privilege Assignment vulnerability",
"details" : "A vulnerability was found in erdogant pypickle up to 1.1.5. It has been classified as critical. This affects the function Save of the file pypickle/pypickle.py. The manipulation leads to improper authorization. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The patch is named 14b4cae704a0bb4eb6723e238f25382d847a1917. It is recommended to upgrade the affected component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pypickle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-5175"
}, {
"type" : "WEB",
"url" : "https://github.com/erdogant/pypickle/issues/3"
}, {
"type" : "WEB",
"url" : "https://github.com/erdogant/pypickle/issues/3#issue-3070689116"
}, {
"type" : "WEB",
"url" : "https://github.com/erdogant/pypickle/issues/3#issuecomment-2888589652"
}, {
"type" : "WEB",
"url" : "https://github.com/erdogant/pypickle/commit/14b4cae704a0bb4eb6723e238f25382d847a1917"
}, {
"type" : "WEB",
"url" : "https://github.com/PrinceRaj-0/Vulnerability-Disclosure/blob/main/CVE-2025-5175.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/erdogant/pypickle"
}, {
"type" : "WEB",
"url" : "https://github.com/erdogant/pypickle/releases/tag/2.0.0"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pypickle/PYSEC-2025-46.yaml"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.310263"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.310263"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.579824"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-266" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-27T19:54:23Z",
"nvd_published_at" : "2025-05-26T08:15:19Z"
}
}