Skip to main content
VulnerabilityPublished Updated

CVE-2025-1889: mmaitre314 picklescan · Reliance on File Name or Extension of Externally-Supplied File

Affects mmaitre314 picklescanSource CVE Database V5

0

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, 15:59 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIpicklescanpkg:pypi/picklescanOther threatsAffected
  • =0.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade picklescan to version 0.0.22 or later, where this vulnerability is fixed by expanding the scope of file extensions scanned.
  2. 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.
  3. Employ strict input validation and sandboxing when loading pickle files to limit the impact of potential malicious payloads.
  4. 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.
  5. Integrate multi-layered security controls such as endpoint detection and response (EDR) solutions to detect anomalous behavior resulting from malicious pickle execution.
  6. Regularly audit and monitor machine learning pipelines and data ingestion workflows for unauthorized or suspicious files.
  7. Consider alternative serialization formats with safer security profiles where feasible, such as JSON or protobuf, to reduce reliance on pickle files.
  8. 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.

References

Community reviews

Loading reviews…