CVE-2026-16760
Last modified
CVE-2026-16760 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In Trail of Bits fickling through 0.1.12, the _process_import() method in fickle.py adds an imported name to the likely_safe_imports set whenever the source module is present in sys.stdlib_module_names and the name is absent from the UNSAFE_IMPORTS denylist, without inspecting what the name resolves to or how it behaves. The OvertlyBadEvals analysis pass in analysis.py then unconditionally skips any call whose function name appears in likely_safe_imports, including calls that would otherwise be flagged as overtly dangerous.
Description
In Trail of Bits fickling through 0.1.12, the _process_import() method in fickle.py adds an imported name to the likely_safe_imports set whenever the source module is present in sys.stdlib_module_names and the name is absent from the UNSAFE_IMPORTS denylist, without inspecting what the name resolves to or how it behaves. The OvertlyBadEvals analysis pass in analysis.py then unconditionally skips any call whose function name appears in likely_safe_imports, including calls that would otherwise be flagged as overtly dangerous. As a result, any callable reachable through a non-blocked standard library module inherits module-level trust regardless of its own behavior, and check_safety() returns LIKELY_SAFE with zero findings for pickle payloads that reach code execution or file write through such callables. Demonstrated primitives: dataclasses._create_fn, which passes an attacker-controlled function body to exec() and yields arbitrary code execution on Python 3.7 through 3.12 (the internal _create_fn function was removed in Python 3.13); mailcap.findmatch, which internally calls os.system() on a test command taken from an attacker-controlled caps dictionary, yielding arbitrary code execution on Python versions through 3.12 (the mailcap module was removed in Python 3.13); and readline.add_history() followed by readline.write_history_file(), which writes attacker-controlled content to an arbitrary filesystem path (POSIX platforms, where the readline module is available). fickling.load() chains check_safety() into pickle.loads() as an explicit security gate, so a LIKELY_SAFE verdict causes the payload to be deserialized and executed with the privileges of the victim process. The root cause is the inference of callable safety from module origin; it is independent of, and separately fixable from, the dotted __qualname__ resolution weakness tracked as CVE-2026-118938, which this advisory does not address. 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, and the module-origin trust root cause persists, as demonstrated by the related CVE-2026-118938 remaining exploitable on that same build.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| trailofbits | fickling | <= 0.1.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-16760?
How severe is CVE-2026-16760?
How do I fix CVE-2026-16760?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-16753Incorrect authorization in the library-query execution endpo…8.8
- CVE-2026-16754A potential improper certificate validation vulnerability wa…4.8
- CVE-2026-16755A potential vulnerability was reported in Lenovo Smart Camer…5.3
- CVE-2026-16756Missing connection and header-read timeouts and the absence …7.5
- CVE-2026-16758The Snippet Shortcodes plugin for WordPress is vulnerable to…6.4
- CVE-2026-16759The Tutor LMS – eLearning and online course solution plugin …6.5
- CVE-2026-16762An attacker able to supply a crafted XML document to an appl…8.7
- CVE-2026-16763A vulnerability was identified in localstack serverless-loca…5.3
- CVE-2026-16764A vulnerability was identified in OWASP DefectDojo 2.59.0. T…6.3
- CVE-2026-16765A vulnerability was determined in CodeAstro Online Classroom…7.3
- CVE-2026-16766Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl a…9.8
- CVE-2026-16767A vulnerability was detected in Ne-Lexa php-zip up to 4.0.2.…6.5
Are you affected by CVE-2026-16760?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
