What’s Vulnerable › Vulnerabilities

CVE-2025-71351: picklescan - Remote Code Execution via timeit.timeit() Detection Bypass

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 products

How to fix

Upgrade to a fixed version: picklescan 0.0.25. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71351 or the next vulnerability affects your stack