CVE-2026-118938
published high CVSS 3.1 · 8.8Fickling check_safety() bypass: dotted __qualname__ in STACK_GLOBAL resolves a class-method attribute path that evades call analysis
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| trailofbits | — | fickling0 through 0.1.12 · Other versions: affected | Affected | Not stated | BombadilSystems |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- BombadilSystems · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| trailofbits | fickling | 0 through 0.1.12 (affected · custom)Default: affected | BombadilSystems · cna |
Weaknesses
2- CWE-706 CWE-706 Use of Incorrectly-Resolved Name or Reference
- CWE-502 CWE-502 Deserialization of Untrusted Data
References
4- Bombadil Systems advisory listing https://bombadil.systems/advisories.html
- fickling source repository https://github.com/trailofbits/fickling
- Vendor remediation merge commit d011709 (does not address this vector; optparse.Values.read_file remains exploitable on master) https://github.com/trailofbits/fickling/commit/d011709
- fickling 0.1.12 on PyPI https://pypi.org/project/fickling/0.1.12/
Provider assertions
2BombadilSystems · cna
Fickling check_safety() bypass: dotted __qualname__ in STACK_GLOBAL resolves a class-method attribute path that evades call analysis
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 70bab5a43b100c611bfd3080c1e3c79f8271db340480d7c1ada9454f73138d65
- Ingested
- 07 Nov 2026, 23:39:08 UTC
- Source record
- Official CVE record