CVE-2026-65974: ERPNext: Server-Side Template Injection leading to Remote Code Execution
Vulnerability summary
CVE-2026-65974 is a critical (CVSS 9.9) vulnerability in frappe erpnext. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.9% of scored vulnerabilities.
Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 17-08-2026PublishedVulnerability first disclosed.
- 18-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Decrease -0.47 pp
From 1.03% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Frappe1 product
- erpnext< 15.111.0 | ≥ 16.0.0, < 16.22.0
1 vendor · 1 product
References
4 links- github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wrX Refsource CONFIRM
- github.com/frappe/erpnext/releases/tag/v15.111.0X Refsource MISC
- github.com/frappe/erpnext/releases/tag/v16.22.0X Refsource MISC