CVE-2025-1716 picklescan - Security scanning bypass via 'pip main'
Attackers can bypass picklescan security checks by using pip.main() in malicious models, leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-1716?
CVE-2025-1716 is a medium-severity vulnerability in mmaitre314 picklescan, published on 26 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
picklescan before 0.0.21 does not treat 'pip' as an unsafe global. An attacker could craft a malicious model that uses Pickle to pull in a malicious PyPI package (hosted, for example, on pypi.org or GitHub) via `pip.main()`. Because pip is not a restricted global, the model, when scanned with picklescan, would pass security checks and appear to be safe, when it could instead prove to be problematic.
Weakness: CWE-184
Which versions are affected by CVE-2025-1716?
It affects 1 product.
Products include Mmaitre314 Picklescan.
How do I fix CVE-2025-1716?
Upgrade to a fixed version.
Is CVE-2025-1716 being exploited?
There is no known exploitation of CVE-2025-1716 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in mmaitre314 picklescan
- CVE-2025-10155 PickleScan Security Bypass Using Misleading File Extension
- CVE-2025-10156 PickleScan Security Bypass via Bad CRC in ZIP Archive
- CVE-2025-10157 PickleScan Bypasses Unsafe Globals Check Using Submodule Imports
- CVE-2025-71348 picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass
- CVE-2025-71357 picklescan - Arbitrary Code Execution via Undetected idlelib.pyshell.ModifiedInterpreter.runcommand