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.
References6
- github.com/frappe/erpnext
- github.com/frappe/erpnext/blob/v16.34.0/erpnext/accounts/doctyp…
- github.com/frappe/erpnext/blob/v16.34.0/erpnext/accounts/doctyp…
- github.com/frappe/erpnext/commit/7aad59b129711e9bba17b25665428d…
- github.com/frappe/erpnext/security/advisories/GHSA-794x-fhm7-58…
- www.vulncheck.com/advisories/frappe-erpnext-before-16.34.1-unau…
Metrics
- CVSS 3.1
-
6.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - CVSS 4.0
-
5.3
MEDIUM
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 32 · as of 9 November 2026
- CWE
- CWE-470
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.