Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/OpenMined/PySyft
- https://www.notion.so/CVE-2026-31220-35d1e1393188814186b9e00114a8aba7
FAQ
What is CVE-2026-31220?
CVE-2026-31220 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2026-31220?
CVE-2026-31220 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-31220?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.