9.9critical
ERPNext: Server-Side Template Injection leading to Remote Code Execution
- Severity
- 9.9critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.56% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| frappe erpnext | < 15.111.0, >= 16.0.0, < 16.22.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
ERPNext es una herramienta de Planificación de Recursos Empresariales gratuita y de código abierto. Antes de las versiones 15.111.0 y 16.22.0, usuarios autenticados con privilegios limitados podían traspasar un límite de permisos en la ejecución segura de Frappe porque frappe.render_template está expuesto sin forzar restrict_globals, lo que permite la inyección de plantillas del lado del servidor y la ejecución remota de código. Este problema está solucionado en las versiones 15.111.0 y 16.22.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-65974 changed 2026-08-18 | CVE Terms of Use |
| NVD | CVE-2026-65974 changed 2026-10-23 | Public domain |