Fickling: OBJ opcode call invisibility bypasses all safety checks
GHSA-mxhj-88fx-4pcv · published 2026-02-24
- Severity
- High
- CVSS score
- 8.6
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 0.1.8
An attacker can distribute a malicious pickle file (e.g., a backdoored ML model) that passes all fickling safety checks. Demonstrated impacts: Backdoor network listener: opens a port on all interfaces. The TCPServer constructor calls serverbind() and serveractivate(), so the port is open immediately after pickle.loads() returns. Process persistence: signal.signal(SIGTERM, SIGIGN) makes the process ignore SIGTERM. In Kubernetes/Docker/ECS, the backdoor stays alive for 30+ seconds per restart attempt. Outbound exfiltration: smtplib.SMTP('attacker.com') opens an outbound TCP connection. The attacker's server learns the victim's IP and hostname.
Upgrade fickling to 0.1.8 or later.
Add new_variable() to Obj.run() (lines 1348 and 1350), applying the same pattern used by Reduce.run() (line 1300):
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| fickling | PyPI | < 0.1.8 | 0.1.8 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- HighFickling missing RCE-capable modules in UNSAFE_IMPORTSfickling
- HighFickling has `always_check_safety()` bypass: pickle.loads and _pickle.loads remain unhookedfickling
- HighFickling vulnerable to use of ctypes and pydoc gadget chain to bypass detectionfickling
- HighFickling vulnerable to detection bypass due to "builtins" blindnessfickling
- HighFickling Blocklist Bypass: cProfile.run()fickling
- HighFickling has Static Analysis Bypass via Incomplete Dangerous Module Blocklistfickling
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.