CVE-2026-31220
published 2026-05-12CVE-2026-31220: PySyft (Syft Datasite/Server) versions 0.9.5 and earlier are vulnerable to remote code execution due to insufficient validation and sandboxing of…
PriorityP271critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.63%
45.7th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| anchore | syft | 0 – 0.9.5 | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Sy PySyft up to 0.9.5 sy.syft_function access control
vuldb·2026-05-19·CVSS 9.8
CVE-2026-31220 [CRITICAL] Sy PySyft up to 0.9.5 sy.syft_function access control
A vulnerability classified as critical has been found in Sy PySyft up to 0.9.5. The affected element is the function sy.syft_function. This manipulation causes improper access controls.
This vulnerability is handled as CVE-2026-31220. The attack can be initiated remotely. There is not any exploit available.
GHSA
PySyft server-side arbitrary Python execution after code approval
ghsa·2026-05-12
CVE-2026-31220 [CRITICAL] CWE-94 PySyft server-side arbitrary Python execution after code approval
PySyft server-side arbitrary Python execution after code approval
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.
GHSA
GHSA-cfpg-c974-jfhq: PySyft (Syft Datasite/Server) versions 0
ghsa_unreviewed·2026-05-12
CVE-2026-31220 GHSA-cfpg-c974-jfhq: PySyft (Syft Datasite/Server) versions 0
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-05-12
Published