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.
Severity (CVSS)
| Base score | 9.9 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-1336 — CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Affected products
| Vendor | Product | Versions |
|---|---|---|
| frappe | erpnext | < 15.111.0; >= 16.0.0, < 16.22.0 |
References
- https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr (x_refsource_CONFIRM)
- https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c (x_refsource_MISC)
- https://github.com/frappe/erpnext/releases/tag/v15.111.0 (x_refsource_MISC)
- https://github.com/frappe/erpnext/releases/tag/v16.22.0 (x_refsource_MISC)
Generated from the official CVE List on 18 Aug 2026 07:05 UTC.