Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. picklescan
  4. ›
  5. GHSA-hf6h-9wq7-hmjg

GHSA-hf6h-9wq7-hmjg: Duplicate Advisory: Picklescan is Vulnerable to Unsafe Globals Check Bypass through Subclass Imports

September 17, 2025

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-f7qq-56ww-84cr. This link is maintained to preserve external references.

Original Description

A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remote attacker to bypass the unsafe globals check. This is possible because the scanner performs an exact match for module names, allowing malicious payloads to be loaded via submodules of dangerous packages (e.g., ‘asyncio.unix_events’ instead of ‘asyncio’).

When the incorrectly considered safe file is loaded after scan, it can lead to the execution of malicious code.

References

  • github.com/advisories/GHSA-hf6h-9wq7-hmjg
  • github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py
  • github.com/mmaitre314/picklescan/security/advisories/GHSA-f7qq-56ww-84cr
  • huggingface.co/iluem/linux_pkl/resolve/main/asyncio_asyncio_unix_events___UnixSubprocessTransport__start.pkl
  • nvd.nist.gov/vuln/detail/CVE-2025-10157

Code Behaviors & Features

Detect and mitigate GHSA-hf6h-9wq7-hmjg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.31

Fixed versions

  • 0.0.31

Solution

Upgrade to version 0.0.31 or above.

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

pypi/picklescan/GHSA-hf6h-9wq7-hmjg.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 22 Sep 2025 00:18:31 +0000.