CVE-2026-65974
published critical CVSS 3.1 · 9.9ERPNext: Server-Side Template Injection leading to Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| frappe | — | erpnext< 15.111.0 · >= 16.0.0, < 16.22.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| frappe | erpnext | < 15.111.0 (affected)>= 16.0.0, < 16.22.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
4Provider assertions
2GitHub_M · cna
ERPNext: Server-Side Template Injection leading to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 09129afd65002f7b55dc8d38a38b74837e55322946b3b14b682e5256bdfb4d17
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record