CVE-2023-54345

Source
https://cve.org/CVERecord?id=CVE-2023-54345
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54345.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-54345
Published
2026-05-05T11:24:49Z
Modified
2026-08-12T03:51:22Z
Severity
  • 8.7 (High) CVSS_V4 - 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 Calculator
Summary
Frappe Framework ERPNext 13.4.0 Remote Code Execution
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54345.json"
}
References

Affected packages

Git / github.com/frappe/erpnext

Affected ranges

Type
GIT
Repo
https://github.com/frappe/erpnext
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:frappe:erpnext:13.4.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "13.4.0"
        },
        {
            "last_affected": "13.4.0"
        }
    ],
    "source": "CPE_STRING"
}
Type
GIT
Repo
https://github.com/frappe/frappe
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "13.4.0"
        },
        {
            "last_affected": "13.4.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

13.*
13.4.0
v13.*
v13.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54345.json"