# CVE-2025-71322: PickleScan - Unsafe Globals Check Bypass via pty.spawn Function

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-29T15:26:37.000Z
- Modified: 2026-11-08T14:00:24.806Z
- Also known as: GHSA-hgrh-qx5j-jfwx, PYSEC-2026-1790
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

PickleScan before 0.0.33 fails to include the pty.spawn function in its unsafe globals list, allowing attackers to bypass security checks. Malicious actors can craft pickle payloads using pty.spawn to achieve arbitrary code execution when files are processed by PickleScan.

(As written by CVE List.)

## Affected

- PickleScan PickleScan: before 0.0.33 (not affected: 0.0.33)
- picklescan (PyPI): before 0.0.33

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/picklescan-unsafe-globals-check-bypass-via-pty-spawn-function> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-71322> (advisory)
- <https://github.com/mmaitre314/picklescan/pull/53> (web)
- <https://github.com/mmaitre314/picklescan/commit/70c1c6c31beb6baaf52c8db1b6c3c0e84a6f9dab> (web)
- <https://github.com/mmaitre314/picklescan> (package)
- <https://github.com/mmaitre314/picklescan/releases/tag/v0.0.33> (web)
- <https://pypi.org/project/picklescan> (package)
- <https://github.com/advisories/GHSA-hgrh-qx5j-jfwx> (advisory)

## Sources

- CVE List: [CVE-2025-71322](https://www.cve.org/CVERecord?id=CVE-2025-71322), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-hgrh-qx5j-jfwx](https://github.com/advisories/GHSA-hgrh-qx5j-jfwx), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-71322](https://nvd.nist.gov/vuln/detail/CVE-2025-71322), Public domain, modified 2026-10-12
- PyPA Advisory Database: [PYSEC-2026-1790](https://osv.dev/vulnerability/PYSEC-2026-1790), CC-BY-4.0, modified 2026-07-07

---

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