CVE-2025-1889: mmaitre314 picklescan · Reliance on File Name or Extension of Externally-Supplied File
Affects mmaitre314 picklescanSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium · fixed in 0.0.22 : update mmaitre314 picklescan when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.0.22
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpicklescanpkg:pypi/picklescanOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade picklescan to version 0.0.22 or later, where this vulnerability is fixed by expanding the scope of file extensions scanned.
- Implement additional validation mechanisms that do not rely solely on file extensions, such as inspecting file headers or magic bytes to confirm file type before processing.
- Employ strict input validation and sandboxing when loading pickle files to limit the impact of potential malicious payloads.
- Educate users and developers about the risks of opening pickle files from untrusted sources, emphasizing the need for caution with files having non-standard extensions.
- Integrate multi-layered security controls such as endpoint detection and response (EDR) solutions to detect anomalous behavior resulting from malicious pickle execution.
- Regularly audit and monitor machine learning pipelines and data ingestion workflows for unauthorized or suspicious files.
- Consider alternative serialization formats with safer security profiles where feasible, such as JSON or protobuf, to reduce reliance on pickle files.
- Establish incident response procedures specific to code execution attacks originating from serialized data files.
Description
picklescan before 0.0.22 only considers standard pickle file extensions in the scope for its vulnerability scan. An attacker could craft a malicious model that uses Pickle and include a malicious pickle file with a non-standard file extension. Because the malicious pickle file inclusion is not considered as part of the scope of picklescan, the file would pass security checks and appear to be safe, when it could instead prove to be problematic.