Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2023-54345
VULNERABILITY

CVE-2023-54345

Common Vulnerabilities and Exposures record

HIGH

Summary

Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated users with System Manager role to execute arbitrary code by exploiting frame introspection. Attackers can create a server script via the /app/server-script endpoint and access the gi_frame attribute to traverse the call stack and invoke os.popen to execute system commands.

Risk

CVSS
8.7
Severity
HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
May 5, 2026 12:16
Modified
Oct 28, 2026 19:10
Last observed
Oct 28, 2026 16:00

CWE

CWE-94

Affected product identifiers

cpe:2.3:a:frappe:erpnext:13.4.0:*:*:*:*:*:*:*

References