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

Status: published. Published: 2026-06-17. Updated: 2026-11-08.

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.

## Remediation

- fix: picklescan (PyPI): OSV reports a fixed version 0.0.33. Check the advisory for supported release branches. (source: OSV GHSA-hgrh-qx5j-jfwx) — https://github.com/advisories/GHSA-hgrh-qx5j-jfwx

## Affected products and versions

- PickleScan / PickleScan (picklescan): ≥ 0; < 0.0.33 (affected, semver); 0.0.33 (unaffected, semver). Source: CNA: VulnCheck
-  / picklescan (picklescan): 0.0.1 (affected, PyPI); 0.0.10 (affected, PyPI); 0.0.11 (affected, PyPI); 0.0.12 (affected, PyPI); 0.0.13 (affected, PyPI); 0.0.14 (affected, PyPI); 0.0.15 (affected, PyPI); 0.0.16 (affected, PyPI); 0.0.17 (affected, PyPI); 0.0.18 (affected, PyPI); 0.0.19 (affected, PyPI); 0.0.2 (affected, PyPI); 0.0.20 (affected, PyPI); 0.0.21 (affected, PyPI); 0.0.22 (affected, PyPI); 0.0.23 (affected, PyPI); 0.0.24 (affected, PyPI); 0.0.25 (affected, PyPI); 0.0.26 (affected, PyPI); 0.0.27 (affected, PyPI); 0.0.28 (affected, PyPI); 0.0.29 (affected, PyPI); 0.0.3 (affected, PyPI); 0.0.30 (affected, PyPI); 0.0.31 (affected, PyPI); 0.0.32 (affected, PyPI); 0.0.4 (affected, PyPI); 0.0.5 (affected, PyPI); 0.0.6 (affected, PyPI); 0.0.7 (affected, PyPI); 0.0.8 (affected, PyPI); 0.0.9 (affected, PyPI); Ecosystem version events: introduced 0; fixed 0.0.33. Source: OSV GHSA-hgrh-qx5j-jfwx

## Severity and prioritization

- 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; source: CNA: 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; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: 0.38% as of 2026-11-08; percentile 32.69%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-693

## Exploit evidence

- exploit: https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx (ADP: CISA-ADP)

## References

- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx (CNA: VulnCheck; vendor-advisory)

- https://www.vulncheck.com/advisories/picklescan-unsafe-globals-check-bypass-via-pty-spawn-function (CNA: VulnCheck; third-party-advisory)

- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx (ADP: CISA-ADP; exploit)

- https://github.com/advisories/GHSA-hgrh-qx5j-jfwx (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-hgrh-qx5j-jfwx (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2025-71322; retrieved 2026-11-08; source updated 2026-11-08

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-hgrh-qx5j-jfwx; retrieved 2026-11-08; source updated 2026-07-07

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-71322; retrieved 2026-11-08; source updated Not reported

Revision: cbe0a683a23ab4317281b43a89477c35c88031575acf4e551808d884e406060b

Canonical: https://y2.dev/cve/CVE-2025-71322

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.