All vulnerabilities

PyPI

CVE-2026-14535

Fickling MLAllowlist analysis can miss non-allowlisted imports

Severity
High
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
0.1.12
Exploit chance
0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 2 Dec 2026
Weakness
CWE-1023
Also known as
GHSA-cffv-grgg-g429, PYSEC-2026-2150
Sources
OSV.dev and GitHub

Description

The issue was confirmed and resolved in https://github.com/trailofbits/fickling/commit/41ce7cb01edd97072994039574a2301ebb3f463d. Users are affected when running the MLAllowlist analysis pass _after_ another pass within the same analysis context, in which case it would fail to flag non-allowlisted imports.

This fix makes MLAllowlist functional again, and opt-in as originally intended, after upgrading to fix. If it is needed to scan ML pickles with an import allowlist, update calls to check_safety() to pass MLAllowlist in the analyzer parameter:

UnsafeImportsML.analyze() unconditionally calls context.shorten_code(node) on every import, even ones it doesn't flag. MLAllowlist.analyze() then sees already_reported=True and skips its allowlist check entirely. MLAllowlist is dead code for all imports for the shared-context/pass-order qualification; but a fresh independent pass can report the import. Not an UnusedVariables bypass. Tests 1–2 in the PoC demonstrate the defect independently.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ficklingPyPI · osv:PyPI:fickling
  • From 0.1.4 before 0.1.12

About fickling

Weekly downloads (PyPI)
150,599PyPI Stats, 1 Dec 2026

References