Description
Frappe ERPNext versions before 16.34.1 fail to validate that Financial Report Template calculation_formula values reference whitelisted methods before passing them to frappe.call(). Accounts Managers can supply arbitrary dotted Python paths to invoke non-whitelisted internal server-side methods and read their return values.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-470 — CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Frappe | ERPNext | 16.0.0 to <16.34.1 |
References
- https://github.com/frappe/erpnext/security/advisories/GHSA-794x-fhm7-58j7 (vendor-advisory)
- https://github.com/frappe/erpnext/commit/7aad59b129711e9bba17b25665428d1fc57bf37c (patch)
- https://github.com/frappe/erpnext/blob/v16.34.0/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py#L1166-L1171 (technical-description)
- https://github.com/frappe/erpnext/blob/v16.34.0/erpnext/accounts/doctype/financial_report_template/financial_report_template.json (technical-description)
- https://github.com/frappe/erpnext (product)
- https://www.vulncheck.com/advisories/frappe-erpnext-before-16.34.1-unauthorized-method-invocation (third-party-advisory)
Generated from the official CVE List on 24 Sep 2026 07:02 UTC.