CVE-2023-54345 PUBLISHED

Frappe Framework ERPNext 13.4.0 Remote Code Execution

Assigner: VulnCheck
Reserved: 10.01.2026 Published: 05.05.2026 Updated: 05.05.2026

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.

Metrics

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
CVSS Score: 8.7

Product Status

Vendor Erpnext
Product Frappe Framework (ERPNext)
Versions
  • Version 13.4.0 is affected

Credits

  • Sander Ferdinand finder

References

Problem Types

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