CVE-2023-54345
JSON

8.7high

Frappe Framework ERPNext 13.4.0 Remote Code Execution

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
1.87% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
Frappe Technologies Frappe Framework (ERPNext)13.4.0CVE List
frappe erpnext13.4.0NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54345 changed 2026-05-25CVE Terms of Use
NVDCVE-2023-54345 changed 2026-10-28Public domain