Improper Neutralization of Special Elements Used in a Template Engine in ERPNext - CVE-2026-65974

 

Improper Neutralization of Special Elements Used in a Template Engine in ERPNext - CVE-2026-65974

Published: August 3, 2026


Vulnerability identifier: #VU140795
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-65974
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the server.

The vulnerability exists due to improper neutralization of special elements used in a template engine in the template engine when processing crafted template input through a permission boundary bypass. A remote user can inject a crafted template payload to execute arbitrary code on the server.

The issue can be exploited by an authenticated user with limited privileges.


Affected software

ERPNext

How to mitigate CVE-2026-65974

Install security update from vendor's website.

ERPNext - addressed in versions 15.111.0, 16.22.0

External References

Related Security Bulletins