CVE-2026-65974: Vulnerability in Frappe Erpnext

Critical. 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.

CWE-1336

Exploitation
None confirmed
Severity
9.9 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-1336
Published
17 Aug 2026
Last change
23 Oct 2026

Affected products

Affected versions and the first fixed release

  • Frappe Erpnext Versions < 15.111.0, >= 16.0.0, < 16.22.0. Fixed in 16.22.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related