CVE-2026-109652

Frappe ERPNext before 15.119.1 Server-Side Template Injection via Message Fields

Published Oct 12, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Frappe ERPNext before 15.119.1 and 16.x before 16.32.0 contains a server-side template injection vulnerability because user-controlled message fields are not validated before template rendering, allowing expressions to run in an unrestricted context. Authenticated attackers holding a common operational role can inject template expressions to read and write arbitrary database data, delete documents, send outbound requests from the server, and send mail from the site.

Analysis

AI-generated

Technical impact

The vulnerability is a server‑side template injection that occurs when user‑controlled message fields are rendered without validation. An attacker who can submit a message may inject malicious template expressions that execute in an unrestricted context, enabling arbitrary database reads and writes, deletion of documents, outbound network requests, and e‑mail sending from the server.

Affected Systems

The affected product is Frappe ERPNext. Versions prior to 15.119.1 and prior to 16.32.0 in the 16.x series contain the flaw. These releases are vulnerable when the message interface is exposed to authenticated users with common operational roles.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog, suggesting no confirmed public exploits yet. Exploitation requires an authenticated user with a common operational role who can supply a crafted message; the injection would allow the attacker to read or modify any database record, delete documents, initiate outbound connections from the server, and send arbitrary mail on behalf of the system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ERPNext 15.119.1 or 16.32.0 or later to obtain the vendor’s patch.
  • If an upgrade is not immediately possible, disable or strictly validate the message fields so that user input cannot be processed as a template expression.
  • Monitor system logs for unexpected outbound requests or e‑mail activity and enforce appropriate role‑based access controls to limit message creation to trusted users.

Generated by OpenCVE AI on October 13, 2026 at 00:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Frappe ERPNext before 15.119.1 and 16.x before 16.32.0 contains a server-side template injection vulnerability because user-controlled message fields are not validated before template rendering, allowing expressions to run in an unrestricted context. Authenticated attackers holding a common operational role can inject template expressions to read and write arbitrary database data, delete documents, send outbound requests from the server, and send mail from the site.
Title Frappe ERPNext before 15.119.1 Server-Side Template Injection via Message Fields
First Time appeared Frappe
Frappe erpnext
Weaknesses CWE-1336
CPEs cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe erpnext
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 12:34 PM
Reserved
Oct 12, 2026, 9:06 PM
Status
Deferred
Published
Oct 12, 2026, 11:17 PM
Modified
Oct 14, 2026, 1:17 PM