GHSA-v8cr-9jrc-fwf9

Suggest an improvement
Source
https://github.com/advisories/GHSA-v8cr-9jrc-fwf9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v8cr-9jrc-fwf9/GHSA-v8cr-9jrc-fwf9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v8cr-9jrc-fwf9
Withdrawn
2026-12-03T02:37:20Z
Published
2026-07-04T15:30:23Z
Modified
2026-12-03T02:45:05Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Duplicate Advisory: Fickling safety checks can miss dangerous standard-library imports
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-m6fh-58r7-x697. This link is maintained to preserve external references.

Original Description

Trail of Bits fickling versions up to and including 0.1.10 do not include the Python standard library modules _posixsubprocess, site, and atexit in the UNSAFE_IMPORTS denylist (fickle.py). Because these modules are absent from the denylist, fickling's check_safety() function returns LIKELY_SAFE with zero findings for pickle payloads that invoke dangerous functions including _posixsubprocess.fork_exec (C-level process spawner capable of executing arbitrary binaries), site.execsitecustomize (executes arbitrary site customization code), and atexit._run_exitfuncs (triggers all registered exit handler callbacks). The fickling.load() API chains check_safety() into pickle.loads() as an explicit security gate; a LIKELY_SAFE verdict causes the payload to be deserialized and executed. This shares the same root cause as CVE-2026-22607 (cProfile), CVE-2025-67748 (pty), and CVE-2025-67747 (marshal/types). OvertlyBadEvals does not flag these modules because they are standard library imports. UnsafeImports does not flag them because they are not in the denylist. The UnusedVariables heuristic is defeated by the SETITEMS opcode pattern.

Database specific
{
    "cwe_ids":  [
        "CWE-184"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-03T02:37:20Z",
    "nvd_published_at":  "2026-07-04T14:16:28Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / fickling

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.1.11

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.1.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v8cr-9jrc-fwf9/GHSA-v8cr-9jrc-fwf9.json"