CVE-2025-71368Published Jun 30, 2026 · Jun 30Updated Oct 28
picklescan - Arbitrary Code Execution via Undetected doctest.debug_script
picklescan
High7.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| picklescan PyPI |
|
|
Original description
picklescan before 0.0.30 fails to detect the doctest.debug_script function when analyzing pickle files, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files embedding doctest.debug_script calls that bypass picklescan detection and execute arbitrary commands upon pickle.load invocation.
From the CVE record · VulnCheck