CVE-2026-137060
paramz model loading executes unrestricted pickle content
sods · paramz / GPy model loading
First documented disclosure · Review checkpoint
Summary
Loading a crafted saved model can execute code with the user’s permissions.
Severity and exploitation evidence
High · 8.5/10 · CVSS 4.0. Severity source.
Exploitation not established: Reviewed original advisories and source changes establish the weakness or a controlled demonstration; malicious exploitation against users is not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
paramz.load delegates to unrestricted pickle.load; serialized reconstruction instructions execute while loading.
Conditions required
A user or integration loads an attacker-provided model file through paramz.load or a delegating GPy loader.
Potential impact
Arbitrary code execution under the loading process, with access to its data and credentials.
Affected versions and configurations
Through 0.10.0 per CNA and original report.
Fix and mitigation status
Source correction e9fb87f merged November 25, with a proposed 0.10.3 version; no corrected PyPI release verified. Current PyPI metadata and latest tags still show 0.10.0.
Practical next steps
Load only trusted models. Assess the merged restricted-loader correction before adopting source builds; do not treat its proposed version as an available PyPI release.
Operating lesson
Model serialization formats that invoke code need explicit trust boundaries and safe defaults.
Evidence and limits
Original issue November 21; merge November 25 at 16:22Z; CNA publication later that day. Static inspection confirms a restricted default, explicit trusted=True unrestricted opt-in with a warning, rejection of dotted global names, and class checks under allowed package prefixes. The source explicitly says allowed classes can still execute hostile code and this is not a complete security boundary. Tests reported by upstream were not rerun. CNA CVSS 4.0 8.5 High differs from its 3.1 score 7.8 High.
Sources
- Issuing CNA authority record
Primary source ·
- Original researcher issue
Primary source ·
- Merged restricted-loader change
Primary source ·
- Public package metadata
Primary source ·