CVE-2026-72911: ERPNext: Possibility of server-side template injection due to missing validation
Vulnerability summary
CVE-2026-72911 is a critical (CVSS 9.9) vulnerability in frappe erpnext. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34.5% of scored vulnerabilities.
Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 10-08-2026PublishedVulnerability first disclosed.
- 13-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
Decrease -0.33 pp
From 0.72% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Frappe1 product
- erpnext< 15.118.0 | ≥ 16.0.0, < 16.29.0
1 vendor · 1 product
References
7 links- github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7X Refsource CONFIRM
- github.com/frappe/erpnext/pull/56458X Refsource MISC
- github.com/frappe/erpnext/releases/tag/v15.118.0X Refsource MISC
- github.com/frappe/erpnext/releases/tag/v16.29.0X Refsource MISC