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.
Affected software
| Software | Affected versions |
|---|---|
ficklingPyPI · osv:PyPI:fickling |
|
About fickling
- Weekly downloads (PyPI)
- 150,599PyPI Stats, 1 Dec 2026
Vulnerabilities in fickling
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-14534Fickling safety checks can miss dangerous standard-library importsHigh 3 Dec 2026
- CVE-2026-118938Fickling check_safety() bypass: dotted __qualname__ in STACK_GLOBAL resolves a class-method attribute path that evades call analysisHigh 8.8 30 Oct 2026
- CVE-2026-16760Fickling check_safety() bypass: likely_safe_imports grants module-origin trust to unvalidated standard library callablesHigh 8.8 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-14535
- GitHub Advisory Database https://github.com/advisories/GHSA-cffv-grgg-g429