PT-2026-37000 · Pypi+1 · Restrictedpython+1

Sander Ferdinand

·

Published

2026-05-05

·

Updated

2026-05-05

·

CVE-2023-54345

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Frappe Framework ERPNext version 13.4.0
Description A sandbox escape in RestrictedPython allows authenticated users with the System Manager role to execute arbitrary code through frame introspection. An attacker can create a server script using the '/app/server-script' endpoint and access the gi frame attribute to traverse the call stack and invoke os.popen() to execute system commands.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2023-54345

Affected Products

Erpnext
Restrictedpython