CVE-2023-54345

8.8 HIGH
Published: May 05, 2026 Modified: May 05, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://erpnext.org
Source: disclosure@vulncheck.com
Product
https://github.com/frappe/frappe/
Source: disclosure@vulncheck.com
Product
https://ur4ndom.dev/posts/2023-07-02-uiuctf-rattler-read/
Source: disclosure@vulncheck.com
Not Applicable
https://www.exploit-db.com/exploits/51580
Source: disclosure@vulncheck.com
Exploit VDB Entry

8 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.8 / 10.0
EPSS (Exploit Probability)
0.1%
29th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

frappe