Paper/Archive/CVE-2026-65974

CVE-2026-65974

frappe erpnext — ERPNext: Server-Side Template Injection leading to Remote Code Execution

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
erpnext< 15.111.0–CNA
erpnext>= 16.0.0, < 16.22.0–CNA

Scores by source

GitHub_M (CNA)9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wrrefgithub.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7crefgithub.com/frappe/erpnext/releases/tag/v15.111.0refgithub.com/frappe/erpnext/releases/tag/v16.22.0