CVE-2026-65974
ERPNext: Server-Side Template Injection leading to Remote Code Execution
CVSS Score
9.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-1336 |
| Vendor | frappe |
| Product | erpnext |
| Published | Aug 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for frappe erpnext
Be the first to know when new critical vulnerabilities affecting frappe erpnext are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
frappe / erpnext
< 15.111.0 >= 16.0.0, < 16.22.0
References
github.com: https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr github.com: https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c github.com: https://github.com/frappe/erpnext/releases/tag/v15.111.0 github.com: https://github.com/frappe/erpnext/releases/tag/v16.22.0