Quick answers
- Is CVE-2026-38431 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-38431 being exploited in the wild.
- How severe is CVE-2026-38431?
- Critical severity, with a CVSS score of 9.8, published 5 May 2026.
- Which products and versions are affected?
- Frappe ERPNext <= 15.103.1.
- Is there a fix for CVE-2026-38431?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-38431 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-38431?
- Check whether you run Frappe ERPNext. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe/ERPNext email template engine. The root cause is improper sanitization of template expressions within the email message body, which are processed by the server-side rendering engine. An attacker with permissions to create or modify email templates can inject Jinja-style expressions (e.g., using frappe.db.sql) to execute arbitrary database queries or system commands. While the CVSS vector suggests no privileges are required, the exploit typically requires access to the 'Email Template' desk component. Successful exploitation allows for full data exfiltration from the 'tabUser' table and potentially broader server compromise.
Affected products
- Frappe ERPNext <= 15.103.1
Timeline
- 2026-04-03: disclosed: Initial researcher disclosure
- 2026-05-05: advisory: CVE published to NVD