Skip to main content
VulnerabilityPublished

CVE-2026-65974: frappe erpnext · Template Injection

Affects frappe erpnextSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.9 Critical : upgrade to 16.22.0 or 15.111.0 as a priority.

Data as of 16 Nov 2026, 20:25 UTC

CVSS 3.1 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 16.22.0, 15.111.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade erpnext and frappe/erpnext to 16.22.0 or 15.111.0.

Affected software

ProductAffectedFixed in
frappeerpnextAffected
  • >=16.0.0 <16.22.0
Fixed in
  • 16.22.0
frappeerpnextAffected
  • <15.111.0
Fixed in
  • 15.111.0
GitHubfrappe/erpnextpkg:github/frappe/erpnextOther threatsAffected
  • <15.111.0
  • <16.22.0
Fixed in
  • 15.111.0
  • 16.22.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade ERPNext to version 15.111.0 or later if using the 15.x branch, or to version 16.22.0 or later if using the 16.x branch. These versions include the official fix that enforces restrict_globals in frappe.render_template, preventing server-side template injection. No other mitigation is indicated by the vendor advisory.

Description

CVE-2026-65974 is a critical vulnerability in ERPNext, an open source ERP tool. Prior to versions 15.111.0 and 16.22.0, authenticated users with limited permissions can bypass permission boundaries due to unsafe exposure of frappe.render_template without restrict_globals. This leads to server-side template injection and remote code execution. The issue is fixed in versions 15.111.0 and 16.22.0.

References

Community reviews

Loading reviews…