CVE-2026-38431
Received
Received - Intake
Server-Side Template Injection in ERPNext
Publication date: 2026-05-05
Last updated on: 2026-05-06
Assigner: MITRE
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| erpnext | erpnext | to 15.103.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
ERPNext versions 15.103.1 and earlier are vulnerable to Server-Side Template Injection (SSTI). This means that an attacker who has permission to create or edit email templates can insert malicious template expressions. These expressions are then executed on the server when the email template is rendered.
How can this vulnerability impact me? :
This vulnerability allows an attacker with template editing permissions to execute arbitrary code on the server. This can lead to unauthorized actions, data exposure, or compromise of the server hosting ERPNext.
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70