Skip to content

An editorial team and a community building with AI

← All articles

News · Trail of Bits (Fickling) · 2 min read

Event date: · Published:

Fickling pickle scanner flaw let malicious ML models bypass detection

A bug in Trail of Bits' Fickling scanner let malicious ML model files disguised as safe pass its MLAllowlist check and execute code when loaded, affecting versions before 0.1.12.

Trail of Bits disclosed on December 3, 2026, that its Fickling pickle safety scanner contained a flaw letting malicious machine learning model files bypass detection, according to a GitHub Security Advisory.

What the advisory discloses

  • Advisory GHSA-cffv-grgg-g429 (CVE-2026-14535) was published on December 3, 2026 at 00:34 UTC.
  • The flaw affects the fickling PyPI package, Trail of Bits' security analyzer for Python pickle files.
  • It is rated High severity, with a CVSS 4.0 score of 8.4.
  • A shared state variable, reported_shortened_code, is not namespaced per analyzer pass, so once the UnsafeImportsML pass marks an import as reported, the MLAllowlist pass skips its own check on that import.
  • Dangerous imports such as ast.parse can slip through Fickling's scan marked as safe.
  • The bug affects versions 0.1.4 and above, before 0.1.12, and is fixed in version 0.1.12.

Why it matters for AI builders

Fickling is a common first line of defense against malicious ML model files. A bypass in its own allowlist logic undermines a tool many AI practitioners rely on to safely load models shared on hubs like Hugging Face, since a malicious pickle file disguised as a model can pass Fickling's check and still execute code when loaded.

Fixing the bypass

Projects relying on Fickling to vet untrusted pickle files should upgrade to version 0.1.12, where the shared state bug is fixed. Until then, scans run on affected versions may report a model as safe even when it contains a dangerous import that should have been flagged.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Fickling pickle scanner flaw let malicious ML models bypass detection | vibecoding.inc