Picklescan has a missing detection when calling built-in python idlelib.autocomplete.AutoComplete.fetch_completions
Summary
Using idlelib.autocomplete.AutoComplete.fetch_completions, which is a built-in python library function to execute remote pickle file.
Details
The attack payload executes in the following steps:
First, the attacker craft the payload by calling to idlelib.autocomplete.AutoComplete.fetch_completions function in reduce method Then when the victim after checking whether the pickle file is safe by using Picklescan library and this library doesn't dectect any dangerous functions, decide to pickle.load() this malicious pickle file, thus lead to remote code execution.
PoC
class EvilIdlelibAutocompleteFetchCompletions:
def __reduce__(self):
from idlelib.autocomplete import AutoComplete, ATTRS
return AutoComplete().fetch_completions, ("__import__('os').system('whoami')", ATTRS)
Impact
Who is impacted? Any organization or individual relying on picklescan to detect malicious pickle files inside PyTorch models. What is the impact? Attackers can embed malicious code in pickle file that remains undetected but executes when the pickle file is loaded. Supply Chain Attack: Attackers can distribute infected pickle files across ML models, APIs, or saved Python objects.
Corresponding
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | picklescan | < 0.0.29 | 0.0.29 |
Verweise
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-7cq8-mj8x-j263
- https://nvd.nist.gov/vuln/detail/CVE-2025-71376
- https://github.com/mmaitre314/picklescan/commit/aecd11be98702caa9ba9b12189d91ad596a36114
- https://github.com/mmaitre314/picklescan
- https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-idlelib-autocomplete-autocomplete-fetch-completions
- https://pypi.org/project/picklescan
- https://github.com/advisories/GHSA-7cq8-mj8x-j263
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-502- Plattform
- Python (PyPI)
- Paket
picklescan- Veröffentlicht
- 26.08.2025
- Aktualisiert
- 11.10.2026 15:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-4133 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-7cq8-mj8x-j263 - CC BY 4.0
Schwachstellenhistorie: picklescan
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 58
- Erste → letzte
- 02.2025 03.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 7
- Hoch 25
- Mittel 26
Veröffentlichungen pro Jahr
- 2025: 51
- 2026: 7
-
Picklescan has a missing detection when calling built-in python idlelib.autocomplete.AutoComplete.fetch_completions dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.