Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 53%

CVE-2026-31220: n/a

0
Critical
VulnerabilityCVE-2026-31220cvecve-2026-31220
Published: 05/12/2026 (05/12/2026, 00:00:00 UTC)
Source: CVE Database V5

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 v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

pysyft
pkg:pypi/pysyft
Affected versions
<=0.9.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 18:17:17 UTC

Technical Analysis

PySyft (Syft Datasite/Server) versions 0.9.5 and earlier allow remote code execution because user-submitted Python functions, submitted via @sy.syft_function(), are executed on the server after approval without adequate security checks or sandboxing. The use of exec() and eval() on approved code within the server process enables attackers to run arbitrary code, resulting in complete compromise of the server environment. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code).

Potential Impact

An attacker with the ability to submit code can execute arbitrary Python commands on the server, leading to full confidentiality, integrity, and availability compromise. This includes unauthorized data access, modification, deletion, and potential takeover of the server hosting PySyft.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or disable the ability for untrusted users to submit code for remote execution. Implement additional manual code review and sandboxing measures to isolate execution environments and prevent arbitrary code execution.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a034c84cbff5d8610fe99e2

Added to database: 05/12/2026, 15:51:32 UTC

Last enriched: 05/19/2026, 18:17:17 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses