CVE-2023-54345

Frappe Framework ERPNext 13.4.0 Remote Code Execution

Published May 5, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Frappe
Frappe erpnext
CPEs cpe:2.3:a:frappe:erpnext:13.4.0:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe erpnext
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Frappe Framework ERPNext 13.4.0 Remote Code Execution
First Time appeared Erpnext
Erpnext erpnext
Weaknesses CWE-94
CPEs cpe:2.3:a:erpnext:erpnext:13.4.0:*:*:*:*:*:*:*
Vendors & Products Erpnext
Erpnext erpnext
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
May 25, 2026, 11:41 PM
Reserved
Jan 10, 2026, 1:51 AM
Status
Analyzed
Published
May 5, 2026, 12:16 PM
Modified
Oct 28, 2026, 7:10 PM