Skip to main content

Fickling CVE-2025-67748

HIGH
Code Injection (CWE-94)
2025-12-16 security-advisories@github.com
7.1
CVSS 4.0 · Vendor: github
Share

Severity by source

Vendor (github) PRIMARY
7.1 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.8 HIGH

AV:L and UI:R because a victim must obtain and deserialize a crafted pickle file; PR:N as no authentication is needed; C/I/A:H since successful bypass leads to full code execution on the victim host.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

2
Analysis Generated
Oct 07, 2026 - 19:38 vuln.today
CVE Published
Dec 16, 2025 - 01:15 cve.org
HIGH 7.1

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 pypi packages depend on fickling (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.1.6.

DescriptionCVE.org

Fickling is a Python pickling decompiler and static analyzer. Versions prior to 0.1.6 had a bypass caused by pty missing from the block list of unsafe module imports. This led to unsafe pickles based on pty.spawn() being incorrectly flagged as LIKELY_SAFE, and was fixed in version 0.1.6. This impacted any user or system that used Fickling to vet pickle files for security issues.

AnalysisAI

Trail of Bits Fickling versions before 0.1.6 fail to flag malicious pickles as unsafe because the pty module was omitted from the tool's blocklist of dangerous imports, allowing a crafted pickle that invokes pty.spawn() to be reported as LIKELY_SAFE. The bypass matters in any workflow where a user, analyst, or CI pipeline uses Fickling as a security gate and then unpickles a file it has cleared, resulting in arbitrary code execution on the machine doing the deserialization; the CVSS 4.0 base score is 7.1 (AV:L/AC:L/AT:N/PR:N/UI:P with high confidentiality, integrity and availability impact), reflecting a local, high-impact outcome gated by passive user interaction rather than remote reach. Publicly available exploit code exists, there is no indication of confirmed in-the-wild exploitation (the issue is not listed in CISA KEV), and a vendor fix is available in 0.1.6.

Technical ContextAI

Fickling is a static analyzer and decompiler for Python pickle streams that flags opcodes capable of arbitrary code execution, such as REDUCE, OBJ, INST and STACK_GLOBAL, and warns when dangerous modules are referenced. The root cause is CWE-94 (Code Injection) arising from an incomplete denylist: the analyzer's unsafe-import list omitted pty, so a pickle that builds the global pty.spawn, pushes the argument 'id', and issues REDUCE was not marked unsafe and the file was classified as LIKELY_SAFE. The original report also described a complementary evasion of the unused-variable heuristic, where a trailing BUILD opcode (adding a __setstate__ to the otherwise unused value left on the pickle VM stack) makes the leftover result appear 'used' and further defeats detection. The fix (PR #108 and PR #187) simply adds "pty" to the block list in fickling/fickle.py and extends the test hook to validate that a payload such as cpty\nspawn\nS"id"\no. is now caught. Because the underlying approach is heuristic, the CPE string cpe:2.3:a:trailofbits:fickling:*:*:*:*:*:*:*:* reflects all releases below the patched 0.1.6 boundary; Fickling itself never executes the pickle, so compromise occurs only if the operator acts on the false LIKELY_SAFE verdict and subsequently unpickles the file.

RemediationAI

Upgrade Fickling to version 0.1.6 or later, which adds pty to the unsafe-module block list via https://github.com/trailofbits/fickling/pull/187 (complementing the earlier https://github.com/trailofbits/fickling/pull/108), and verify the fix by confirming that a pty.spawn pickle is now reported as unsafe. If upgrading immediately is not possible, treat Fickling's LIKELY_SAFE output as advisory only and never unpickle a file solely on that basis: run unpickling under a hardened restricted unpickler or in a disposable, network-isolated sandbox with no credentials mounted, and add pty (and other process-spawning modules such as os, subprocess, posix, nt) to any local copy of the block list - accepting that this manual patch is a stopgap that must be maintained as new bypasses appear. Because Fickling's detection is heuristic, the durable control is to avoid pickle for untrusted data entirely and to gate any deserialization step behind an allowlist-based unpickler rather than a denylist, recognizing such restrictions may break legitimate workflows that depend on executing arbitrary pickle payloads. Consult the vendor advisory at https://github.com/trailofbits/fickling/security/advisories/GHSA-r7v6-mfhq-g3m2 for the authoritative fix reference; note that no vendor patch identifier other than the 0.1.6 release and the two pull requests is available in the source data.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Share

CVE-2025-67748 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy