CVE-2026-72911 CRITICAL

CVE-2026-72911: ERPNext: Possibility of server-side template injection due to missing validation

Vendor Frappe
Product erpnext
Weakness CWE-1336
Published August 10, 2026
Last update August 13, 2026

CVSS base score

9.9/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.29.0, the validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals including frappe.utils, allowing an authenticated user with a common operational role to inject template expressions, execute arbitrary server-side code, and read data across the application. This issue is fixed in versions 15.118.0 and 16.29.0.

Key dates

02Disclosure timeline

August 10, 2026 CVE published
August 13, 2026 Record updated

Related vulnerabilities

04Related CVE