Vulnerability · Published Jun 17, 2026 · Assigned by VulnCheck
CVE-2026-53875picklescan - Scanning Bypass via Dynamic Eval in scan_pytorch
High 7.1
In plain English
A high-severity security flaw in picklescan from picklescan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
picklescan before 1.0.3 contains a scanning bypass vulnerability in the scan_pytorch function that allows attackers to embed malicious magic numbers via dynamic eval using the __reduce__ trick. Attackers can craft malicious PyTorch payloads that evade picklescan detection while remaining executable, enabling arbitrary code execution when loaded with torch.load().
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 1.0.3 | GHSA-97f8-7cmv-76j2 |
| PyPI | picklescan | 1.0.3 | PYSEC-2026-2873 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| picklescan | picklescan | 0 – before 1.0.3 |
Weakness: CWE-95 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
References
- GHSA Advisory GHSA-97f8-7cmv-76j2 vendor-advisory
- https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f patch
- https://github.com/mmaitre314/picklescan/commit/134179474539648ba7dee1317959529fbd0e7f89 patch
- VulnCheck Advisory: picklescan - Scanning Bypass via Dynamic Eval in scan_pytorch third-party-advisory