Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-65974

ERPNext: Server-Side Template Injection leading to Remote Code Execution
Back to all
CVE

CVE-2026-65974

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

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.rendertemplate is exposed without forcing restrictglobals, allowing server-side template injection and remote code execution. This issue is fixed in versions 15.111.0 and 16.22.0.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/frappe/erpnext/releases/tag/v15.111.0, https://github.com/frappe/erpnext/releases/tag/v16.22.0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65974.json, https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr, https://nvd.nist.gov/vuln/detail/CVE-2026-65974, https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c

Severity

9.9

CVSS Score
0
10

Basic Information

Base CVSS
9.9
EPSS Probability
0.00557%
EPSS Percentile
0.44061%
Introduced Version
c3fdb191b9c6bbb2b0d98d0156eafd9a3faa96b0,0
Fix Available
054b20a2ae1bdea44694cca72d17412945171cab,529d190a252863672164d10bfcd91d1de0ac1c7c

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading