CVE-2026-56315: PickleScan has multiple stdlib modules with direct RCE not in blocklist
Affects picklescanSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.0.4 as a priority.
Data as of 7 Nov 2026, 23:24 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 8 Nov 2026.
What to do
Upgrade picklescan to 1.0.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpicklescan | 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
A patch is available that updates PickleScan's unsafe globals blocklist to include the affected modules. Users should upgrade to a fixed version beyond 1.0.3 once released. The vendor also recommends architectural changes such as switching to a default-deny allowlist for permitted globals and treating all unknown globals as dangerous by default. Until patched, relying solely on PickleScan for pickle safety validation is unsafe.
Description
PickleScan version 1.0.3 and earlier do not block several Python standard library modules that enable direct remote code execution (RCE) when malicious pickle files import them. These modules include uuid, _osx_support, _aix_support, _pyrepl, imaplib, and test.support.script_helper. Malicious pickle files using these modules pass PickleScan's safety checks with zero issues detected, allowing arbitrary command execution upon unpickling. This affects all deployments relying on PickleScan, including the HuggingFace Hub. A fix is available to update the blocklist, but the vendor recommends architectural changes to use a default-deny allowlist approach instead.
References
- github.com/mmaitre314/picklescan/security/advisories/GHSA-g38g-8gr9-h9xp (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-56315 (opens in a new tab)
- github.com/mmaitre314/picklescan (opens in a new tab)
- vulncheck.com/advisories/picklescan-remote-code-execution-via-unblocked-standard-library-modules (opens in a new tab)
- github.com/mmaitre314/picklescan/commit/bf26452ae2e3204429762c2bb1aa9eacd40436bb (opens in a new tab)