CVE-2025-71368

HIGH

picklescan - Arbitrary Code Execution via Undetected doctest.debug_script

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-fqq6-7vqf-w3fg)
https://github.com/mmaitre314/picklescan/security/advisories/GHSA-fqq6-7vqf-w3fg
Third Party Advisory third-party-advisory
VulnCheck Advisory: picklescan - Arbitrary Code Execution via Undetected doctest.debug_script
https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-doctest-debug-script

Scores

CVSS v3 8.1
EPSS 0.0077
EPSS Percentile 52.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (2)
picklescan/picklescan < 0.0.30
picklescan/picklescan 0.0.30
Published Jun 30, 2026
Tracked Since Jul 01, 2026