CVE Catalog

CVE-2026-31220

Critical
Published: Translated: NVD NIST

Summary

PySyft (Syft Datasite/Server) versions 0.9.5 and earlier are vulnerable to remote code execution due to insufficient validation and sandboxing of user-submitted code. Low-privileged users can submit Python functions for remote execution on the server, creating a risk of executing dangerous code.

Risk Assessment

A remote attacker can leverage this vulnerability to execute arbitrary Python code on the server, leading to complete compromise of the server environment.

Recommendation

It is recommended to upgrade to the latest version of PySyft that improves validation and sandboxing of user code. Additionally, implement further security mechanisms to restrict unauthorized code execution.

Original NVD description (English source)

PySyft (Syft Datasite/Server) versions 0.9.5 and earlier are vulnerable to remote code execution due to insufficient validation and sandboxing of user-submitted code. The system allows low-privileged users to submit Python functions (via @sy.syft_function()) for remote execution on the server. While a code approval mechanism exists, the submitted code undergoes no security checks for dangerous operations (e.g., file access, command execution). Once approved, the code is executed within the server process using exec() and eval() functions without proper isolation. A remote attacker can leverage this to execute arbitrary Python code on the server, leading to complete compromise of the server environment.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS