Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. picklescan
  4. ›
  5. GHSA-hgrh-qx5j-jfwx

GHSA-hgrh-qx5j-jfwx: Picklescan Bypasses Unsafe Globals Check using pty.spawn

December 29, 2025 (updated June 18, 2026)

The vulnerability allows malicious actors to bypass PickleScan’s unsafe globals check, leading to potential arbitrary code execution. The issue stems from the absence of the pty library (more specifically, of the pty.spawn function) from PickleScan’s list of unsafe globals. This vulnerability allows attackers to disguise malicious pickle payloads within files that would otherwise be scanned for pickle-based threats.

References

  • github.com/advisories/GHSA-hgrh-qx5j-jfwx
  • github.com/mmaitre314/picklescan/commit/70c1c6c31beb6baaf52c8db1b6c3c0e84a6f9dab
  • github.com/mmaitre314/picklescan/pull/53
  • github.com/mmaitre314/picklescan/releases/tag/v0.0.33
  • github.com/mmaitre314/picklescan/security/advisories/GHSA-hgrh-qx5j-jfwx
  • nvd.nist.gov/vuln/detail/CVE-2025-71322
  • www.vulncheck.com/advisories/picklescan-unsafe-globals-check-bypass-via-pty-spawn-function

Code Behaviors & Features

Detect and mitigate GHSA-hgrh-qx5j-jfwx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.33

Fixed versions

  • 0.0.33

Solution

Upgrade to version 0.0.33 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

pypi/picklescan/GHSA-hgrh-qx5j-jfwx.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.