CVE-2023-54345

HIGH CVSS 4.0: 8.7 EPSS 0.61%
Updated Oct 28, 2026
Frappe
Parameter Value
CVSS 8.7 (HIGH)
Type CWE-94 (Code Injection)
Vendor Frappe
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Frappe Erpnext
cpe:2.3:a:frappe:erpnext:13.4.0:*:*:*:*:*:*:*
— —