Skip to content
CVE PROGRAM SOURCE RECORD9.9 Critical

CVE-2026-65974

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

frappe erpnext

  • < 15.111.0affected
  • >= 16.0.0, < 16.22.0affected

References