{"id":"CVE-2023-54345","url":"https://www.cyber-defence.io/tools/cve/CVE-2023-54345","generatedAt":"2026-10-28T07:25:29.424Z","title":"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.","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.","published":"2026-05-05T12:16:17.000Z","lastModified":"2026-06-17T06:47:17.000Z","status":"Analyzed","sourceIdentifier":"disclosure@vulncheck.com","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-94"],"affected":["frappe/erpnext"],"epss":{"score":0.00609,"percentile":0.48937,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.61%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://erpnext.org","tags":["Product"],"source":"disclosure@vulncheck.com"},{"url":"https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script","tags":["Product"],"source":"disclosure@vulncheck.com"},{"url":"https://gist.github.com/lebr0nli/c2fc617390451f0e5a4c31c87d8720b6","tags":["Exploit"],"source":"disclosure@vulncheck.com"},{"url":"https://github.com/frappe/frappe/","tags":["Product"],"source":"disclosure@vulncheck.com"},{"url":"https://github.com/frappe/frappe/blob/v13.4.0/frappe/utils/safe_exec.py#L42","tags":["Product"],"source":"disclosure@vulncheck.com"},{"url":"https://ur4ndom.dev/posts/2023-07-02-uiuctf-rattler-read/","tags":["Not Applicable"],"source":"disclosure@vulncheck.com"},{"url":"https://www.exploit-db.com/exploits/51580","tags":["Exploit","VDB Entry"],"source":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/frappe-framework-erpnext-remote-code-execution","tags":["Third Party Advisory"],"source":"disclosure@vulncheck.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-54345","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}