Skip to main content

Fickling CVE-2025-67747

HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2025-12-16 security-advisories@github.com
7.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious pickle using marshal.loads/types.FunctionType
  2. Delivery
    Deliver file to victim as trusted artifact
  3. Exploit
    Fickling scan returns false LIKELY_SAFE
  4. Execution
    Victim unpickles trusting verdict
  5. Impact
    Arbitrary code executes on victim host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires a victim to use Fickling at a version below 0.1.6 to statically vet an attacker-controlled pickle file whose payload specifically invokes marshal.loads and types.FunctionType (the two modules absent from the pre-0.1.6 unsafe-import block list), AND to then actually deserialize/unpickle that file in reliance on Fickling's false 'LIKELY_SAFE' verdict. Limiting factors: this is a static-analyzer bypass, so Fickling itself is not the execution sink - code runs only upon the subsequent unpickling step; it demands passive user interaction (running the scan and choosing to load the file), affects only vulnerable Fickling versions, and is irrelevant to users who do not route untrusted pickles through Fickling as a safety gate. No network-facing service is directly exposed by the flaw.

Impact

This is a detection-bypass flaw (CWE-184, incomplete block list) in Fickling, a security tool, rather than a direct RCE in a running service - context that materially lowers real-world urgency despite the 7.1 CVSS. The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VC:H/VI:H/VA:H) correctly models a local, file-driven attack requiring passive user interaction, with high confidentiality/integrity/availability impact once arbitrary code runs. Exploitation status is 'publicly available exploit code exists' - a full working PoC pickle is published in the GHSA advisory and codified as a regression test - but this is NOT confirmed active exploitation: the CVE is not listed in CISA KEV, so PoC availability and in-the-wild use must not be conflated. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be assessed. The practical risk is narrow and conditional: harm only occurs if a victim runs a vulnerable Fickling version to vet an attacker-supplied pickle, receives a false 'LIKELY_SAFE' verdict, and then unpickles the file in reliance on that verdict. There is no signal/metric conflict here - all sources (CVSS AV:L, description, and source diff) consistently point to local, user-interaction-dependent exploitation; treat this as a patch-promptly supply-chain hygiene issue for Fickling users, not an emergency perimeter exposure.

Exploit ScenarioDerived

An attacker publishes a malicious pickle (e.g., a 'pretrained' ML model) whose payload loads code via marshal.loads and reconstructs an executable via types.FunctionType - both missing from Fickling <0.1.6's unsafe-import block list. A defender scans the file with Fickling, receives a 'LIKELY_SAFE' result, and unpickles it, executing os.system('id')-style arbitrary code. A complete, working PoC exists in the GHSA-565g-hwwr-4pp3 advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Deserialization of an attacker-supplied pickle file that has been vetted by Fickling versions prior to 0.1.6 can execute arbitrary code because the analyzer's unsafe-import block list omitted the 'marshal' and 'types' modules, allowing payloads built on marshal.loads and types.FunctionType to pass the scan as 'LIKELY_SAFE'. The flaw affects any user or pipeline that trusts Fickling as a safety gate for untrusted pickles and then unpickles the file; because Fickling is the inspection tool rather than the execution sink, code only runs when the file is subsequently loaded, and the CVSS 4.0 vector (AV:L/AC:L/PR:N/UI:P) and the independent assessment (AV:L/AC:L/PR:N/UI:R) both confirm that unauthenticated attackers need the victim to run the scan and then choose to deserialize the file. Publicly available exploit code exists - the upstream GHSA advisory itself includes a disassembled malicious pickle and a regression test - but there is no confirmed active exploitation (no CISA KEV listing), and the vendor-released patch fixes the issue in Fickling 0.1.6.

RemediationAI

Vendor-released patch: upgrade to Fickling 0.1.6 (for example 'pip install --upgrade "fickling>=0.1.6"' or pin fickling==0.1.6), which adds 'marshal' and 'types' to the unsafe-import block list; the fix landed in PR https://github.com/trailofbits/fickling/pull/186 via commit https://github.com/trailofbits/fickling/commit/4e34561301bda1450268d1d7b0b2b151de33b913 and is described in advisory GHSA-565g-hwwr-4pp3. Because this is a detection bypass rather than a flaw in the deserialization sink, patching Fickling alone does not make unpickling untrusted data safe - treat any 'LIKELY_SAFE' verdict as a heuristic and never deserialize an untrusted pickle solely because Fickling cleared it. Where unpickling is unavoidable, load through a restricted Unpickler with an explicit find_class allow-list that excludes marshal, types, os, subprocess, and similar modules, accepting that legitimate pickles using those names will fail; alternatively, perform the unpickle inside a disposable sandbox or container with no network access, a read-only filesystem, and least-privilege credentials, which contains the damage but adds operational overhead and does not prevent the initial code execution. Adding your own pre-scan for STACK_GLOBAL references to marshal.loads and types.FunctionType can close the gap on unpatched versions, but maintaining a local deny-list carries the same risk of incomplete coverage that caused this CVE.

Affected Packages

pypi fickling fix: 0.1.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Fickling, maintained by Trail of Bits, is a Python pickle decompiler and static analyzer that inspects pickle bytecode (opcodes such as STACK_GLOBAL, REDUCE, and BUILD) to flag dangerous constructs before a file is ever deserialized. Its safety checks work largely by maintaining a block list of unsafe module/attribute names that can be reached through STACK_GLOBAL; when a payload references any of those names, Fickling raises the reported severity above LIKELY_SAFE. Before 0.1.6 that list was missing 'marshal' and 'types', so two powerful primitives went undetected: marshal.loads, which turns attacker-supplied bytes into a live Python code object, and types.FunctionType, which wraps that code object into a callable function. The advisory PoC chains these with pickle REDUCE opcodes - marshal.loads(code_bytes) followed by types.FunctionType(code, globals), then a final REDUCE with an empty argument tuple - to build and invoke a function that runs os.system('id'). This is a classic CWE-184 incomplete-block-list defect: the detection logic is sound in principle but its deny-list is not exhaustive, so the analyzer emits a false-negative 'LIKELY_SAFE' verdict. Fickling itself is not the execution sink; the arbitrary code runs only in the victim's process at the later unpickling step, when the crafted file is actually loaded. The fix in commit 4e34561301bda1450268d1d7b0b2b151de33b913 adds 'marshal' and 'types' to the unsafe-import set in fickling/fickle.py.

Know when Fickling gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
vuln.today AI 7.8 HIGH

File-based local vector (AV:L) needing the victim to scan then unpickle the crafted file (UI:R); no attacker privileges needed (PR:N); arbitrary code execution yields full C/I/A.

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
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Fickling is a Python pickling decompiler and static analyzer. Versions prior to 0.1.6 are missing marshal and types from the block list of unsafe module imports. Fickling started blocking both modules to address this issue. This allows an attacker to craft a malicious pickle file that can bypass fickling since it misses detections for types.FunctionType and marshal.loads. A user who deserializes such a file, believing it to be safe, would inadvertently execute arbitrary code on their system. This impacts any user or system that uses Fickling to vet pickle files for security issues. The issue was fixed in version 0.1.6.

Executive ViewAI

Why It Matters

Fickling, a Python pickle inspection tool used as a security gate, can be bypassed in versions before 0.1.6, allowing malicious pickle files to pass as safe and later execute arbitrary code when deserialized. This affects development, data science, and MLOps pipelines that rely on Fickling to screen untrusted pickle artifacts, potentially leading to unauthorized code execution within trusted environments. Publicly available exploit code exists and unauthenticated attackers require user interaction, but a vendor-released patch: 0.1.6 is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche Trail of Bits security/ML tool, limited specialist deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:trailofbits:fickling:*:*:*:*:*:*:*:*
CVE-2026-22607 HIGH POC
7.8 Jan 10

Fickling's static analyzer through version 0.1.6 fails to properly classify the cProfile module as unsafe during pickle

CVE-2026-22606 HIGH POC
7.8 Jan 10

Fickling's incomplete pickle analysis allows attackers to bypass security checks by using Python's runpy module to execu

CVE-2026-22609 HIGH POC
7.8 Jan 10

Fickling's static analyzer before version 0.1.7 fails to detect several dangerous Python modules in pickled objects, ena

CVE-2025-67748 HIGH POC
7.1 Dec 16

Trail of Bits Fickling versions before 0.1.6 fail to flag malicious pickles as unsafe because the `pty` module was omitt

CVE-2026-14535 CRITICAL
9.8 Jul 04

Security-control bypass in Trail of Bits fickling (≤0.1.11) neuters its MLAllowlist analysis pass so that malicious pick

CVE-2026-118938 HIGH
8.8 Oct 30

Pickle-analysis bypass in Trail of Bits fickling through 0.1.12 and vendor master commit d011709 allows arbitrary code e

CVE-2026-16760 HIGH
8.8 Oct 30

fickling through 0.1.12 misclassifies malicious pickle payloads as safe: its OvertlyBadEvals analysis pass skips any cal

CVE-2026-14534 HIGH
8.8 Jul 04

Arbitrary code execution bypass in Trail of Bits fickling (versions ≤ 0.1.10) allows attackers to craft malicious pickle

CVE-2026-22612 HIGH
7.8 Jan 10

Fickling versions prior to 0.1.7 fail to properly detect malicious pickle payloads due to inadequate handling of the "bu

CVE-2026-22608 HIGH
7.8 Jan 10

Fickling before version 0.1.7 allows local attackers to achieve arbitrary code execution through Python pickle deseriali

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