Skip to content

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

CriticalCVSS 9.9 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
frappe ERPNext = < 15.111.0; = >= 16.0.0, < 16.22.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
frappe ERPNext = < 15.111.0 No fix listed
frappe ERPNext = >= 16.0.0, < 16.22.0 No fix listed

References