CVE-2026-31220 Details
Description
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.
A remote code execution vulnerability exists in PySyft (Syft Datasite/Server) versions 0.9.5 and earlier. This issue arises from inadequate validation and sandboxing of user-submitted code, allowing low-privileged users to send Python functions for remote execution on the server. Although there is a code approval process, submitted code is not subjected to security checks for potentially harmful operations, such as file access or command execution. Once approved, the code is executed within the server process using 'exec()' and 'eval()' without proper isolation. This vulnerability enables remote attackers to execute arbitrary Python code on the server, potentially leading to a complete compromise of the server environment.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2026CISA-ADP
Assessed May 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenMined/PySyft | [email protected] | Source CodeVendor |
| https://www.notion.so/CVE-2026-31220-35d1e1393188814186b9e00114a8aba7 | [email protected] | Not Applicable |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| OpenMined PySyft | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 15, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | New CVE Received | [email protected] |
Volerion