Official Product Homepageproduct
http://erpnext.org/ CVE-2023-54345
HIGH
Frappe Framework ERPNext 13.4.0 Remote Code Execution
Record summary
CVE-2023-54345 has a selected CVSS score of 8.7 (high); EIP currently links 1 catalogued exploit.
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.
Description source: CVE List
Exploitation context
Available material
- Catalogued exploits
- 1
CISA SSVC decision
ExploitationPoC
AutomatableNo
Technical impactTotal
CISA Coordinator · SSVC 2.0.3 · Evaluated May 5, 2026 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Frappe Framework (ERPNext)Browse Frappe Technologies / Frappe Framework (ERPNext) | CVE List | 13.4.0 | affected |
Proofs of concept
1Catalogued exploits
ExploitDBFrappe Framework (ERPNext) 13.4.0 - Remote Code Execution (Authenticated)ExploitDB exploitby Sander FerdinandNot analyzed1 file
References
9ReferenceThird-party advisory
https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script Source Code Repositoryproduct
https://gist.github.com/lebr0nli/c2fc617390451f0e5a4c31c87d8720b6 Product Referenceproduct
https://github.com/frappe/frappe Source Code Repositoryproduct
https://github.com/frappe/frappe/blob/v13.4.0/frappe/utils/safe_exec.py nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2023-54345 ReferenceThird-party advisory
https://ur4ndom.dev/posts/2023-07-02-uiuctf-rattler-read ExploitDB-51580exploit
https://www.exploit-db.com/exploits/51580 VulnCheck Advisory: Frappe Framework ERPNext 13.4.0 Remote Code ExecutionThird-party advisory
https://www.vulncheck.com/advisories/frappe-framework-erpnext-remote-code-execution