CVE-2026-96672: CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Frappe ERPNext
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.
AI Analysis
Technical Summary
Frappe ERPNext versions >=16.0.0 and <16.34.1 do not properly validate that calculation_formula values in Financial Report Templates only reference whitelisted methods before passing them to frappe.call(). This unsafe reflection vulnerability enables Accounts Managers to supply arbitrary dotted Python paths, invoking internal server-side methods that are not whitelisted, thereby potentially exposing sensitive data through their return values. The CVSS 4.0 base score is 5.3, indicating medium severity with network attack vector, low complexity, and limited impact on confidentiality and integrity.
Potential Impact
An attacker with Accounts Manager privileges can exploit this vulnerability to invoke arbitrary internal server-side methods and read their return values, potentially exposing sensitive information. The impact is limited by the requirement of authenticated privileges and the scope of accessible methods, resulting in a medium severity rating.
Mitigation Recommendations
Upgrade Frappe ERPNext to version 16.34.1 or later, where this vulnerability is fixed by validating calculation_formula values against a whitelist before invoking methods. No other mitigations are indicated. Patch status is confirmed by the affectedVersions range indicating the fix in 16.34.1.
CVE-2026-96672: CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Frappe ERPNext
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.
CVSS v4.0
Score 5.3medium
Affected software
Frappe
ERPNext
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Frappe ERPNext versions >=16.0.0 and <16.34.1 do not properly validate that calculation_formula values in Financial Report Templates only reference whitelisted methods before passing them to frappe.call(). This unsafe reflection vulnerability enables Accounts Managers to supply arbitrary dotted Python paths, invoking internal server-side methods that are not whitelisted, thereby potentially exposing sensitive data through their return values. The CVSS 4.0 base score is 5.3, indicating medium severity with network attack vector, low complexity, and limited impact on confidentiality and integrity.
Potential Impact
An attacker with Accounts Manager privileges can exploit this vulnerability to invoke arbitrary internal server-side methods and read their return values, potentially exposing sensitive information. The impact is limited by the requirement of authenticated privileges and the scope of accessible methods, resulting in a medium severity rating.
Mitigation Recommendations
Upgrade Frappe ERPNext to version 16.34.1 or later, where this vulnerability is fixed by validating calculation_formula values against a whitelist before invoking methods. No other mitigations are indicated. Patch status is confirmed by the affectedVersions range indicating the fix in 16.34.1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-23T15:10:27.415Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab3f4bef7a7c5410600a20d
Added to database: 09/23/2026, 15:48:14 UTC
Last enriched: 09/23/2026, 16:02:47 UTC
Last updated: 09/24/2026, 01:57:04 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.