CVE-2023-54345

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:frappe:erpnext:13.4.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-05-05 12:16

Updated : 2026-06-17 06:47


NVD link : CVE-2023-54345

Mitre link : CVE-2023-54345

CVE.ORG link : CVE-2023-54345


JSON object : View

Products Affected

frappe

  • erpnext
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')