CVE-2023-54345
Frappe Framework ERPNext 13.4.0 Remote Code Execution
8.8CVSSHIGH
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.
MITRE ATT&CK
2 techniques Execution
Initial Access
References
http://erpnext.org
erpnext.org
https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script
frappeframework.com
https://gist.github.com/lebr0nli/c2fc617390451f0e5a4c31c87d8720b6
gist.github.com
and 5 more references View all →
Timeline
Published
May 5, 2026
Last Updated
May 5, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2023-54345 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows