Server-side template injection in Frappe ERPNext message fields
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
Frappe ERPNext before 15.119.1 and 16.x before 16.32.0 contains a server-side template injection flaw (CWE-1336) because user-controlled message fields are not validated before template rendering. An authenticated attacker holding a common operational role can inject template expressions that run in an unrestricted context to read and write database data, delete documents, send outbound requests from the server, and send mail from the site.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Frappe ERPNext before 15.119.1 and 16.x before 16.32.0 contains a server-side template injection vulnerability because user-controlled message fields are not validated before template rendering, allowing expressions to run in an unrestricted context. Authenticated attackers holding a common operational role can inject template expressions to read and write arbitrary database data, delete documents, send outbound requests from the server, and send mail from the site.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade ERPNext to 15.119.1 or 16.32.0. The sources list no fixed version for other ERPNext branches.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA erpnext (frappe) Fixed in 15.119.1, 16.32.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
frappe erpnext 15.119.1, 16.32.0
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-71392 Stored cross-site scripting in Frappe ERPNext via public booking pagePriority MEDIUM 43
- TI-2026-71390 SQL injection in Frappe ERPNext via missing input validationPriority LOW 31
- TI-2026-71372 Missing authorization in Frappe ERPNext lets users modify documentsPriority LOW 31
Timeline
- 2026-10-13 Threatist record created from CVE-2026-109652
- 2026-10-13 Alias added: GHSA-cw68-6fr5-c994
- 2026-10-13 Priority changed: MEDIUM → LOW
- 2026-10-14 CISA SSVC decision points changed
References
More frappe vulnerabilities
- TI-2026-28140 ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). CVSS 3.1CRITICAL 9.8
- TI-2025-40873 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
- TI-2025-40872 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
- TI-2025-40871 A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe ERPNext… CVSS 3.1CRITICAL 9.8
- TI-2025-32462 In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at… CVSS 3.1HIGH 8.2
- TI-2025-32461 In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at… CVSS 3.1HIGH 8.2
Sources
- CVE-2026-109652 · CVE Program
- CVE-2026-109652 · NVD
- FIRST EPSS
- GHSA-cw68-6fr5-c994 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences