CVE-2025-71368 PUBLISHED

picklescan - Arbitrary Code Execution via Undetected doctest.debug_script

Assigner: VulnCheck
Reserved: 20.06.2026 Published: 30.06.2026 Updated: 01.07.2026

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.

Metrics

CVSS 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
CVSS Score: 7.6

Product Status

Vendor picklescan
Product picklescan
Versions Default: unaffected
  • affected from 0 to 0.0.30 (excl.)
  • Version 0.0.30 is unaffected

Credits

  • FredericDT reporter

References

Problem Types

  • Deserialization of Untrusted Data CWE