CVE Catalog

CVE-2026-72911

CriticalCVSS 9.9
Published: Translated: NVD NIST

Summary

ERPNext prior to versions 15.118.0 and 16.29.0 contains a vulnerability in unsafe template rendering in the statement of accounts process. An authenticated user with a common operational role can inject template expressions, execute arbitrary server-side code, and read data across the application.

Risk Assessment

Risk of unauthorized data access and code execution in ERPNext, potentially leading to breach of confidentiality and integrity of business data.

Recommendation

Update ERPNext to versions 15.118.0 or 16.29.0 which contain fixes. Restrict user roles and monitor system activity.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS