CVE-2026-65974 PUBLISHED

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

Assigner: GitHub_M
Reserved: 23.07.2026 Published: 17.08.2026 Updated: 17.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.9

Product Status

Vendor frappe
Product erpnext
Versions
  • Version < 15.111.0 is affected
  • Version >= 16.0.0, < 16.22.0 is affected

References

Problem Types

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine CWE