CVE-2026-38431
ERPNext v15.103.1 and earlier are vulnerable to Server‑Side Template Injection. If an attacker can create or edit email templates, they can inject code that runs on the server. This can lead to full compromise of the system.
No official fix yet. If none appears within 45 days of first tracking, this entry is removed automatically.
Who is affected
ERPNext v15.103.1 and earlier (frappe erpnext). Users who have permission to create or edit email templates are at risk.
Real-world impact
An attacker could execute arbitrary code on the server, steal sensitive data, alter system behavior, or gain complete control of the affected instance.
Why this severity
The CVSS score of 9.8 reflects that the flaw is network‑exploitable, requires no privileges, and can lead to total loss of confidentiality, integrity, and availability.
What to do about it
- ›Restrict permissions for creating or editing email templates to trusted users only.
No official fix or mitigation is documented in the sources yet. Monitor the vendor advisory and apply the patch as soon as it is released.
No fix documented in sources
Timeline
- May 5, 2026 · May 5, 2026PublishedDisclosed and added to the National Vulnerability Database.
- Jul 24, 2026 · 11d agoAdvisory updatedThe NVD record was last revised.
How it’s attacked
References & advisories
- c0wking.hashnode.dev/ssti-in-erpnext-frappe-emai…exploitthird party advisory