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

Published May 5, 2026
·
Updated

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 giframe attribute to traverse the call stack and invoke os.popen to execute system commands.

Affected Software

2 affected components
Frappe ERPNext=13.4.0
Frappe ERPNext=13.4.0

Event History

May 5, 2026
CVE Published
via MITRE·11:24 AM
Data Sourced
via MITRE·11:24 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-54345?

CVE-2023-54345 is a critical vulnerability that allows remote code execution in Frappe Framework ERPNext 13.4.0.

2

How do I fix CVE-2023-54345?

To fix CVE-2023-54345, it is recommended to upgrade Frappe Framework ERPNext to the latest version that addresses this vulnerability.

3

Who is affected by CVE-2023-54345?

CVE-2023-54345 affects users of Frappe Framework ERPNext version 13.4.0 with the System Manager role.

4

What type of vulnerability is CVE-2023-54345?

CVE-2023-54345 is classified as a sandbox escape vulnerability that enables authenticated users to execute arbitrary code.

5

Can CVE-2023-54345 be exploited remotely?

Yes, CVE-2023-54345 can be exploited remotely by authenticated users, making it particularly dangerous.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203