CVE-2026-137060 in paramzinfo

Summary

by MITRE • 11/25/2026

paramz through 0.10.0 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted model files to paramz.load(), which calls pickle.load() without restrictions. Attackers can embed objects whose __reduce__ method returns callables like exec or os.system in shared paramz or GPy model files to run code with the victim's privileges.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified within paramz versions through 0.10.0 constitutes a critical insecure deserialization flaw that stems from the unvalidated use of Python’s pickle module for loading serialized objects. The core technical issue lies in the implementation of the load function, which directly invokes pickle.load without implementing any restrictions or sanitization mechanisms on the incoming data stream. In Python, the pickle library is designed to reconstruct arbitrary Python object graphs from a byte stream, but it inherently lacks security boundaries when processing untrusted input. This design choice creates a direct pathway for remote code execution if an attacker can control the contents of the serialized file being loaded by paramz.load().

The operational impact of this vulnerability is severe because it allows attackers to achieve arbitrary command execution on the victim's system with the privileges of the user running the application. The exploitation mechanism relies on crafting malicious model files that contain specially constructed Python objects. These crafted objects override or utilize their _reduce_ method, which pickle calls during deserialization to determine how to reconstruct the object. By configuring this method to return callables such as exec or os.system, an attacker can force the victim's environment to execute arbitrary shell commands when the malicious file is processed. This effectively bypasses any intended security controls within the application logic that relies on paramz for model management.

This type of vulnerability aligns with Common Weakness Enumeration standard CWE-502, which describes deserialization of untrusted data as a significant risk factor in software development. The attack vector typically involves tricking users or automated systems into loading compromised model files from shared directories or external sources where paramz and GPy models are commonly stored. Since these libraries are often used in machine learning workflows that may involve sharing datasets and trained models, the potential for widespread exploitation is high if proper input validation is not enforced at the serialization layer.

To mitigate this risk, developers must avoid using pickle for deserializing untrusted data entirely. Instead, they should adopt safer serialization formats such as JSON or YAML, which do not support arbitrary code execution during parsing. If legacy compatibility with pickle files is strictly required, it is imperative to implement a custom unpickler that restricts the types of objects allowed during reconstruction, ensuring that only expected and safe classes can be instantiated. Additionally, organizations should enforce strict file integrity checks and source validation policies for any model files loaded into production environments to prevent the ingestion of tampered or malicious artifacts.

Responsible

VulnCheck

Reservation

11/25/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00254

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!