CVE-2023-54345: Vulnerability in Frappe Erpnext

Patch soon. 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.

CWE-94

Exploitation
None confirmed
Severity
8.8 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
5 May 2026
Last change
28 Oct 2026

Affected products

Affected versions and the first fixed release

  • Frappe Erpnext Version 13.4.0. No fixed version recorded

Advisories

Vendor and security advisories

Related