Sandbox Escape in Frappe Framework ERPNext by Frappe
CVE-2023-54345
Key Information:
- Vendor
Erpnext
- Vendor
- CVE Published:
- 5 May 2026
Badges
What is CVE-2023-54345?
The Frappe Framework ERPNext version 13.4.0 is susceptible to a sandbox escape vulnerability within RestrictedPython. This issue permits authenticated users with the System Manager role to execute arbitrary code by leveraging frame introspection. Specifically, an attacker can craft a server script through the /app/server-script endpoint and exploit the gi_frame attribute. This facilitates traversal of the call stack, allowing the execution of system commands via os.popen. Such a vulnerability poses significant risks to system integrity and data security.
Affected Version(s)
Frappe Framework (ERPNext) 13.4.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
