CVE-2023-54345 HIGH

CVE-2023-54345: Frappe Framework ERPNext 13.4.0 Remote Code Execution

Vendor Frappe Technologies
Product Frappe Framework (ERPNext)
Weakness CWE-94 · Code injection
Published May 5, 2026
Last update May 25, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 5, 2026 CVE published
May 25, 2026 Record updated