Vulnerability · Published Mar 3, 2025 · Assigned by Sonatype
CVE-2025-1889picklescan - Security scanning bypass via non-standard file extensions
Medium 5.3
In plain English
A medium-severity security flaw in picklescan from mmaitre314. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 0.0.22 | GHSA-655q-fx9r-782v |
| PyPI | picklescan | 0.0.22 | GHSA-769v-p64c-89pr |
| PyPI | picklescan | 0.0.21 | PYSEC-2025-18 |
| PyPI | picklescan | 0.0.22 | PYSEC-2025-19 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mmaitre314 | picklescan | 0.0.1 – through 0.0.21 |
Weakness: CWE-646 · Vector: 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
References
- https://www.sonatype.com/security-advisories/cve-2025-1889 third-party-advisory
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v third-party-advisory