CVE-2026-38431
Analyzed Analyzed - Analysis Complete

Server-Side Template Injection in ERPNext

Vulnerability report for CVE-2026-38431, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-05

Last updated on: 2026-05-08

Assigner: MITRE

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

Published
2026-05-05
Last Modified
2026-05-08
Generated
2026-07-06
AI Q&A
2026-05-05
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
frappe erpnext to 15.103.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-38431. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart