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

ERPNext: Server-Side Template Injection leading to Remote Code Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.111.0, 16.22.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.111.0 and 16.22.0, limited authenticated users can cross a permission boundary in Frappe safe execution because frappe.render_template is exposed without forcing restrict_globals, allowing server-side template injection and remote code execution. This issue is fixed in versions 15.111.0 and 16.22.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.111.0; From 16.0.0 · fixed in 16.22.0

References 4

GitHub · frappe/erpnext

GitHub · frappe/frappe