PyPA Advisory Database
PYSEC-2025-151
Details
An Improper Input Validation vulnerability in the scanning logic of mmaitre314 picklescan versions up to and including 0.0.30 allows a remote attacker to bypass pickle files security checks by supplying a standard pickle file with a PyTorch-related file extension. When the pickle file incorrectly considered safe is loaded, it can lead to the execution of malicious code.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | picklescan | All versions before 0.0.31 (fixed in 0.0.31) |