{"id":"CVE-2026-72911","aliases":["CVE-2026-72911"],"related":[],"kind":"vulnerability","state":"published","title":"ERPNext: Possibility of server-side template injection due to missing validation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"ERPNext es una herramienta de Planificación de Recursos Empresariales (ERP) gratuita y de código abierto. Antes de las versiones 15.118.0 y 16.29.0, las llamadas a validate_template y render_template en erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py renderizan los campos subject, body y pdf_name con globales sin restricciones, incluyendo frappe.utils, lo que permite a un usuario autenticado con un rol operativo común inyectar expresiones de plantilla, ejecutar código arbitrario del lado del servidor y leer datos en toda la aplicación. Este problema está solucionado en las versiones 15.118.0 y 16.29.0.","source":"nvd"}],"published":"2026-08-10T21:00:46.536Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"version":"< 15.118.0","status":"affected"},{"version":">= 16.0.0, < 16.29.0","status":"affected"}],"vendor":"frappe","product":"erpnext","source":"cvelist"}],"references":[{"url":"https://github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/pull/56458","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/commit/5f6952b15c1f6ee893770d5bc618558a6ba41a28","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/commit/88443e4a97c6c0a40d85a9e6785577191296ee39","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/commit/ecb6d48ec025e0c94abac35b2e4f7607f4c86465","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v15.118.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v16.29.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-13T15:51:21.859Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72911","url":"https://www.cve.org/CVERecord?id=CVE-2026-72911","licence":"CVE Terms of Use","modified":"2026-08-13T15:51:32.962Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72911","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72911","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:32.175Z","epss":{"score":0.00383,"percentile":0.34533,"date":"2026-12-01T12:00:22.000Z"}}