CVE-2026-72911: frappe erpnext · Template Injection
Affects frappe erpnextSource CVE Database V5
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| frappeerpnext | Affected
| Fixed in
|
| frappeerpnext | Affected
| Fixed in
|
GitHubfrappe/erpnextpkg:github/frappe/erpnextOther threats | Affected
| Fixed in
|
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
- github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7 (opens in a new tab)
- github.com/frappe/erpnext/pull/56458 (opens in a new tab)
- github.com/frappe/erpnext/commit/5f6952b15c1f6ee893770d5bc618558a6ba41a28 (opens in a new tab)
- github.com/frappe/erpnext/commit/88443e4a97c6c0a40d85a9e6785577191296ee39 (opens in a new tab)
- github.com/frappe/erpnext/commit/ecb6d48ec025e0c94abac35b2e4f7607f4c86465 (opens in a new tab)
- github.com/frappe/erpnext/releases/tag/v15.118.0 (opens in a new tab)
- github.com/frappe/erpnext/releases/tag/v16.29.0 (opens in a new tab)