GHSA-cfpg-c974-jfhq

Suggest an improvement
Source
https://github.com/advisories/GHSA-cfpg-c974-jfhq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-cfpg-c974-jfhq/GHSA-cfpg-c974-jfhq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cfpg-c974-jfhq
Aliases
  • CVE-2026-31220
Published
2026-05-12T18:30:38Z
Modified
2026-05-18T20:31:29.630233Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
PySyft server-side arbitrary Python execution after code approval
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-18T20:24:15Z",
    "nvd_published_at": "2026-05-12T16:16:13Z",
    "severity": "CRITICAL"
}
References

Affected packages

PyPI / syft

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.9.5

Affected versions

0.*
0.1.0a1
0.1.1a2
0.1.2a1
0.1.3a1
0.1.4a1
0.1.4a2
0.1.5a1
0.1.6a1
0.1.7a1
0.1.8a1
0.1.9a1
0.1.10a1
0.1.10a2
0.1.10a4
0.1.11a1
0.1.12a1
0.1.13a1
0.1.14a1
0.1.15a1
0.1.16a1
0.1.19a1
0.1.20a1
0.1.21a1
0.1.22a1
0.1.23a1
0.1.24a1
0.1.25a1
0.1.26a1
0.1.27a1
0.1.28a1
0.1.29a1
0.2.0a1
0.2.0a2
0.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0
0.9.1b1
0.9.1b2
0.9.1b3
0.9.1b4
0.9.1b5
0.9.1b6
0.9.1b7
0.9.1b8
0.9.1b9
0.9.1b10
0.9.1b11
0.9.1
0.9.2b1
0.9.2b2
0.9.2b3
0.9.2b4
0.9.2b5
0.9.2b6
0.9.2b7
0.9.2b8
0.9.2
0.9.3b1
0.9.3b2
0.9.3b4
0.9.3
0.9.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-cfpg-c974-jfhq/GHSA-cfpg-c974-jfhq.json"