{"id":"CVE-2026-65974","published":"2026-08-17T20:44:20Z","modified":"2026-08-18T14:17:47Z","title":"ERPNext: Server-Side Template Injection leading to Remote Code Execution","vendor":"frappe","product":"erpnext","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01029,"percentile":0.64485,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v15.111.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v16.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":12.9},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"frappe","affectedVersions":[{"vendor":"frappe","product":"erpnext","versions":["< 15.111.0",">= 16.0.0, < 16.22.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-18T14:16:59.926975Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-60451","exploited":false,"provenance":"source"}}