Vulnerability · Published Jun 21, 2026 · Assigned by VulnCheck
CVE-2025-71351picklescan - Remote Code Execution via timeit.timeit() Detection Bypass
High 7.6
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 0.0.25 fails to detect malicious pickle files that use timeit.timeit() in the __reduce__ method, allowing remote code execution. Attackers can craft pickle files that import dangerous libraries like os and execute arbitrary system commands, which evade picklescan detection and execute when pickle.load() is called.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 0.0.25 | GHSA-v7x6-rv5q-mhwc |
| PyPI | picklescan | 0.0.25 | PYSEC-2026-4135 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| picklescan | picklescan | 0 – before 0.0.25 |
Weakness: CWE-184 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
References
- GHSA Advisory GHSA-v7x6-rv5q-mhwc vendor-advisory
- VulnCheck Advisory: picklescan - Remote Code Execution via timeit.timeit() Detection Bypass third-party-advisory