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

28 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Frappe Framework ERPNext 13.4.0 contiene una vulnerabilidad de escape de sandbox en RestrictedPython que permite a usuarios autenticados con el rol de System Manager ejecutar código arbitrario explotando la introspección de frames. Los atacantes pueden crear un script de servidor a través del endpoint /app/server-script y acceder al atributo gi_frame para recorrer la pila de llamadas e invocar os.popen para ejecutar comandos del sistema.

Information

Published : 2026-05-05 12:16

Updated : 2026-10-28 19:10


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')