CVE-2026-118938
Last modified
CVE-2026-118938 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In Trail of Bits fickling through 0.1.12, a pickle STACK_GLOBAL operand carrying a dotted __qualname__ (for example "Values.read_file") is resolved by pickle's find_class through _getattribute to an arbitrary attribute path rather than to a module-level function. Fickling records only the leading component of the name in its import tracking and renders the operation as a plain import (for instance, 'python -m fickling' displays it as 'from optparse import Values.read_file'), so the trailing attribute reference is never analyzed as a call.
Description
In Trail of Bits fickling through 0.1.12, a pickle STACK_GLOBAL operand carrying a dotted __qualname__ (for example "Values.read_file") is resolved by pickle's find_class through _getattribute to an arbitrary attribute path rather than to a module-level function. Fickling records only the leading component of the name in its import tracking and renders the operation as a plain import (for instance, 'python -m fickling' displays it as 'from optparse import Values.read_file'), so the trailing attribute reference is never analyzed as a call. The OvertlyBadEvals analysis pass does not flag it, and check_safety() returns LIKELY_SAFE with zero findings. This allows an attacker to reach a class method that performs code execution: optparse.Values.read_file executes exec(open(filename).read(), vars), achieving arbitrary code execution when the crafted pickle is loaded through fickling.load(), which chains check_safety() into pickle.loads() as an explicit security gate. optparse is present in all current CPython 3.x releases (deprecated as of Python 3.13, not removed). This weakness is in the resolution and analysis of dotted attribute-path names, and is distinct from and independently fixable from the module-origin trust weakness tracked as CVE-2026-16760: resolving or flagging dotted attribute-path imports closes this vector while leaving the module-level trust behavior unchanged. This bypass was verified to remain present on the vendor master branch at commit d011709 as of 2026-10-30, after the vendor's October blocklist additions and a new heuristic that flags private stdlib attributes; because the public class method Values.read_file is neither blocklisted nor flagged as a private attribute, it is not addressed by those remediations.
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-118938?
How severe is CVE-2026-118938?
How do I fix CVE-2026-118938?
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-11889SALTO ProAccess Space software using the tenancy feature / l…6.5
- CVE-2026-1189The LeadBI Plugin for WordPress plugin for WordPress is vuln…6.4
- CVE-2026-11890Improper access control in PAM account discovery results in …4.3
- CVE-2026-118905Node Version Manager (nvm) is a POSIX-compliant shell functi…7
- CVE-2026-11891Use After Free vulnerability in Arm Ltd Valhall GPU Userspac…5.1
- CVE-2026-11893The Bluetooth HCI driver for Bouffalo Lab on-chip BLE contro…5.9
- CVE-2026-11894The Realtek BEE Bluetooth HCI driver's send callback, bt_hci…5.9
- CVE-2026-118947A flaw was found in the UMA resource registration endpoint o…4.3
- CVE-2026-11895The HT Mega Addons for Elementor – Elementor Widgets & Templ…6.4
- CVE-2026-118952A flaw was found in the Kroxylicious ACL authorizer. Its pre…6.5
- CVE-2026-118959A flaw was found in the required action provider mechanism o…5.4
- CVE-2026-11896The My Calendar – Accessible Event Manager plugin for WordPr…5.3
Are you affected by CVE-2026-118938?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
