Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. picklescan
  4. ›
  5. GHSA-7wx9-6375-f5wh

GHSA-7wx9-6375-f5wh: PickleScan's profile.run blocklist mismatch allows exec() bypass

March 3, 2026

picklescan v1.0.3 blocks profile.Profile.run and profile.Profile.runctx but does NOT block the module-level profile.run() function. A malicious pickle calling profile.run(statement) achieves arbitrary code execution via exec() while picklescan reports 0 issues. This is because the blocklist entry "Profile.run" does not match the pickle global name "run".

References

  • github.com/advisories/GHSA-7wx9-6375-f5wh
  • github.com/mmaitre314/picklescan
  • github.com/mmaitre314/picklescan/security/advisories/GHSA-7wx9-6375-f5wh

Code Behaviors & Features

Detect and mitigate GHSA-7wx9-6375-f5wh 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 1.0.4

Fixed versions

  • 1.0.4

Solution

Upgrade to version 1.0.4 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs
  • CWE-697: Incorrect Comparison

Source file

pypi/picklescan/GHSA-7wx9-6375-f5wh.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:17:46 +0000.