CVE-2026-65974
ERPNext: Server-Side Template Injection leading to Remote Code Execution
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.
INFO
Published Date :
Aug. 17, 2026, 9:16 p.m.
Last Modified :
Aug. 17, 2026, 9:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update ERPNext to version 15.111.0 or higher.
- Update ERPNext to version 16.22.0 or higher.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-65974.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-65974 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-65974
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-65974 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-65974 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Aug. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'frappe', 'product': 'erpnext', 'versions': [{'status': 'affected', 'version': '< 15.111.0'}, {'status': 'affected', 'version': '>= 16.0.0, < 16.22.0'}]}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-1336 Added Reference https://github.com/frappe/erpnext/releases/tag/v15.111.0 Added Reference https://github.com/frappe/erpnext/releases/tag/v16.22.0 Added Reference https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr Added Reference https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c