# CVE-2026-14535: Fickling MLAllowlist analysis pass rendered inoperative by shared mutable state in AnalysisContext.shorten\_code()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.56% (percentile 41, 2026-11-26)
- **CWE:** CWE-693
- **Aliases:** GHSA-cffv-grgg-g429, PYSEC-2026-2150
- **Published:** 2026-07-04T13:31:14.937Z
- **Modified:** 2026-10-25T15:10:00.147Z

## Who should check

- Projects that depend on PyPI package fickling (\< 0.1.12)
- Anyone running trailofbits fickling \<= 0.1.11

## Description

In Trail of Bits fickling versions up to and including 0.1.11, the UnsafeImportsML analysis pass unconditionally calls AnalysisContext.shorten\_code(node) on every import node it inspects, regardless of whether the import is flagged as unsafe. This call registers the shortened code representation in the shared AnalysisContext.reported\_shortened\_code set. When the MLAllowlist analysis pass subsequently runs, it calls the same shorten\_code() method, receives already\_reported=True for every import, and executes a continue statement that skips its allowlist check entirely. This renders MLAllowlist dead code for all imports — it never evaluates whether an import is in the ML allowlist or not. The MLAllowlist pass was designed to catch imports of modules outside the known-safe ML ecosystem (torch, numpy, transformers, etc.) that slip past the UnsafeImports denylist. With MLAllowlist inoperative, any standard library module not in the UNSAFE\_IMPORTS denylist can be invoked via pickle deserialization while fickling's check\_safety() returns LIKELY\_SAFE. The fickling.load() API chains check\_safety() into pickle.loads() as an explicit security gate, meaning a LIKELY\_SAFE verdict causes the payload to be deserialized and executed. The root cause is shared mutable state between independently-correct analysis passes — UnsafeImportsML works as designed in isolation, MLAllowlist works as designed in isolation, but the shared reported\_shortened\_code set causes UnsafeImportsML to poison MLAllowlist's deduplication logic.

## Affected and fixed versions

- PyPI `fickling`: affected \< 0.1.12; fixed 0.1.12 (osv)
- trailofbits fickling: \<= 0.1.11 (cvelist)

## Mitigation

- Upgrade fickling to 0.1.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-14535. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-14535.md
Affected: fickling < 0.1.12
Fixed in: 0.1.12

Steps:
1. Search this machine and project for fickling (PyPI), trailofbits fickling: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-14535 being exploited?

There is no confirmed exploitation: CVE-2026-14535 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-14535?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-14535?

fickling \< 0.1.12.

### Is there a fix for CVE-2026-14535?

Yes. Fixed in 0.1.12. Upgrade fickling to 0.1.12 or later.

### How do I check if I'm affected by CVE-2026-14535?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/trailofbits/fickling/security/advisories/GHSA-cffv-grgg-g429>
- vendor: <https://github.com/trailofbits/fickling/releases/tag/v0.1.12>
- patch: <https://github.com/trailofbits/fickling/pull/278>
- patch: <https://github.com/trailofbits/fickling/commit/41ce7cb01edd97072994039574a2301ebb3f463d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-14535>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2150> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-14535> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-14535>
