PyPI: upsonic

CVE-2025-6279

Safety vulnerability ID: SFTY-20250619-01186

Safety legacy ID: pyup.io-78843

Affected versions of the Upsonic package are vulnerable to Deserialization of Untrusted Data due to unsafe pickle deserialization in the tool management functionality. The cloudpickle.loads function in the /tools/add_tool endpoint of the Pickle Handler component deserializes user-provided data without proper validation or sanitization, allowing arbitrary Python object deserialization.

Created at: May 1, 2026Updated at: May 1, 2026

Overview

Upsonic has vulnerability in Pickle Handler component that can lead to deserialization

Advisory

Affected versions of the Upsonic package are vulnerable to Deserialization of Untrusted Data due to unsafe pickle deserialization in the tool management functionality. The cloudpickle.loads function in the /tools/add_tool endpoint of the Pickle Handler component deserializes user-provided data without proper validation or sanitization, allowing arbitrary Python object deserialization.

Affected Package

Affecting upsonic package, versions
<0.56.0

Also affects

---

How to Fix

Upgrade
upsonic
to
0.56.0
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more