Skip to main content
VulnerabilityPublished Updated

CVE-2026-72911: frappe erpnext · Template Injection

Affects frappe erpnextSource CVE Database V5

0
Compare

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

Data as of 8 Nov 2026, 23:24 UTC

CVSS 3.1 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 16.29.0, 15.118.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 10 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 9 Nov 2026.

What to do

Upgrade erpnext and frappe/erpnext to 16.29.0 or 15.118.0.

Affected software

ProductAffectedFixed in
frappeerpnextAffected
  • >=16.0.0 <16.29.0
Fixed in
  • 16.29.0
frappeerpnextAffected
  • <15.118.0
Fixed in
  • 15.118.0
GitHubfrappe/erpnextpkg:github/frappe/erpnextOther threatsAffected
  • <15.118.0
  • <16.29.0
Fixed in
  • 15.118.0
  • 16.29.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.118.0 or later, or 16.29.0 or later, where this vulnerability is fixed. No other mitigation or temporary fix is indicated. Patch status is not explicitly stated but the fix versions are known; therefore, applying these updates is the recommended remediation.

Description

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.

References

Community reviews

Loading reviews…