CVE-2026-53875
CVE-2026-53875 · picklescan - Scanning Bypass via Dynamic Eval in scan_pytorch
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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().
CVSS 7.1 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
picklescan
- Versions
- ≥ 0, < 1.0.3: Affected (semver)
- 1.0.3: Not affected (semver)
Update to 1.0.3
picklescan PyPI
- Versions
- 0.0.1
- 0.0.10
- 0.0.11
- 0.0.12
- 0.0.13
- 0.0.14
- 0.0.15
- 0.0.16
- 0.0.17
- 0.0.18
- 0.0.19
- 0.0.2
- 0.0.20
- 0.0.21
- 0.0.22
- 0.0.23
- 0.0.24
- 0.0.25
- 0.0.26
- 0.0.27
- 0.0.28
- 0.0.29
- 0.0.3
- 0.0.30
- 0.0.31
- 0.0.32
- 0.0.33
- 0.0.34
- 0.0.35
- 0.0.4
- 0.0.5
- 0.0.6
- 0.0.7
- 0.0.8
- 0.0.9
- 1.0.0
- 1.0.1
- 1.0.2
- Affected ranges
- ECOSYSTEM: < 1.0.3
Update to 1.0.3
Original sources
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-97f8-7cmv-76j2
- https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f
- https://github.com/mmaitre314/picklescan/commit/134179474539648ba7dee1317959529fbd0e7f89
- https://www.vulncheck.com/advisories/picklescan-scanning-bypass-via-dynamic-eval-in-scan-pytorch
- https://nvd.nist.gov/vuln/detail/CVE-2026-53875