Skip to content
HighVulnerability

CVE-2026-16760: Trail of Bits fickling safety check bypass via standard library callables

Identifier
CVE-2026-16760
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

In Trail of Bits fickling through 0.1.12, the _process_import() method in fickle.py marks any name from a non-blocked standard library module as likely safe, based only on its module origin. The OvertlyBadEvals pass in analysis.py then skips those calls, so check_safety() returns LIKELY_SAFE for pickle payloads that reach code execution or file write, and fickling.load() passes such payloads to pickle.loads(). Demonstrated primitives are dataclasses._create_fn (arbitrary code execution on Python 3.7 through 3.12), mailcap.findmatch (arbitrary code execution through 3.12), and readline.add_history() with readline.write_history_file() (arbitrary file write on POSIX).

Mitigation

As of 2026-10-30, the three demonstrated modules were added to UNSAFE_IMPORTS on the vendor master branch (commit d011709) pending release. Released versions through 0.1.12 remain affected. The source does not state a released fixed version.