{"cve":"CVE-2023-54345","nvd":{"published":"2026-05-05T12:16:16.850","modified":"2026-10-28T19:10:00.193","status":"Analyzed","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_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["http://erpnext.org","https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script","https://gist.github.com/lebr0nli/c2fc617390451f0e5a4c31c87d8720b6","https://github.com/frappe/frappe/","https://github.com/frappe/frappe/blob/v13.4.0/frappe/utils/safe_exec.py#L42"],"products":["frappe:erpnext"],"source":"nvd","synced_at":"2026-10-28T19:37:43.506563291+00:00"},"epss":{"cve":"CVE-2023-54345","score":0.00609,"percentile":0.49003,"date":"2026-10-28"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}