Skip to content
OpenAdvisories
Critical · 9.9 CVE-2026-72911 EUVD-2026-55833

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

Published Aug 10, 2026 · Updated Aug 13, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
frappe erpnext < 15.118.0, >= 16.0.0, < 16.29.0 —

References