Skip to content
OpenAdvisories
Critical · 9.9 CVE-2026-65974 EUVD-2026-60451

ERPNext: Server-Side Template Injection leading to Remote Code Execution

Published Aug 17, 2026 · Updated Aug 18, 2026 · Assigned by GitHub_M

Description

ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, limited authenticated users can cross a permission boundary in Frappe safe execution because frappe.render_template is exposed without forcing restrict_globals, allowing server-side template injection and remote code execution. This issue is fixed in versions 15.111.0 and 16.22.0.

Affected products

VendorProductAffectedFixed
frappe erpnext < 15.111.0, >= 16.0.0, < 16.22.0 —

References