Skip to main content
← All vulnerabilities
CVE-2026-72911

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.118.0, 16.29.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • frappe erpnext

    fixed in 15.118.0; From 16.0.0 · fixed in 16.29.0

References 7

GitHub · frappe/erpnext