# CVE-2025-71368: picklescan - Arbitrary Code Execution via Undetected doctest.debug_script

- Severity: High 7.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-26T21:38:09.000Z
- Modified: 2026-10-12T21:10:00.227Z
- Also known as: GHSA-fqq6-7vqf-w3fg
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- picklescan picklescan: before 0.0.30 (not affected: 0.0.30)
- picklescan (PyPI): before 0.0.30

## Every score

- VulnCheck: CVSS:4.0 7.6 High `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: rating Medium

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-fqq6-7vqf-w3fg> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-doctest-debug-script> (third-party-advisory)
- <https://github.com/mmaitre314/picklescan/commit/1931c2d04eaca8d20597705ff39cab78ba364e4b> (web)
- <https://github.com/mmaitre314/picklescan> (package)

## Sources

- CVE List: [CVE-2025-71368](https://www.cve.org/CVERecord?id=CVE-2025-71368), CVE Terms of Use, modified 2026-07-01
- GitHub Advisory Database: [GHSA-fqq6-7vqf-w3fg](https://github.com/advisories/GHSA-fqq6-7vqf-w3fg), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2025-71368](https://nvd.nist.gov/vuln/detail/CVE-2025-71368), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-71368 · Whole record: https://cve.day/CVE-2025-71368.json · Rebuilt by cve.day 2026-11-25T22:59:12.367Z
