CVE-2026-65974 ERPNext: Server-Side Template Injection leading to Remote Code Execution
CriticalCVSS 9.9
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| frappe ERPNext | = < 15.111.0; = >= 16.0.0, < 16.22.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| frappe ERPNext | = < 15.111.0 | No fix listed |
| frappe ERPNext | = >= 16.0.0, < 16.22.0 | No fix listed |
References
- https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr
- https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c
- https://github.com/frappe/erpnext/releases/tag/v15.111.0
- https://github.com/frappe/erpnext/releases/tag/v16.22.0
- ENISA EUVD EUVD-2026-60451 third-party-advisory