CVE-2026-38431: ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI)
CVE-2026-38431 is a critical-severity flaw (CVSS 9.8) affecting erpnext. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). An attacker with permission to create or edit email templates can inject template expressions that are executed on the server when the template is rendered.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-05-05 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-38431?
erpnext: upgrade to newer than 15.103.1. Exact commands for each OS are on this page.
Is CVE-2026-38431 being exploited?
CVE-2026-38431 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-38431 affect?
CVE-2026-38431 affects erpnext. Severity is critical (CVSS 9.8). ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). An attacker with permission to create or edit email templates can inject template expressions that are executed on the server when the template is rendered
How urgent is CVE-2026-38431?
Priority 53/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-44442 CRITICAL 9.9 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44447 HIGH 8.8 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44446 HIGH 8.8 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44440 MEDIUM 6.5 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44445 MEDIUM 6.5 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool