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.
Published: 2026-09-23
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Frappe ERPNext versions prior to 16.34.1 do not validate the calculation_formula field of Financial Report Template documents, allowing managers to supply arbitrary dotted Python paths to frappe.call(). When executed, these paths invoke internal server‑side methods that are not on the authorized list and expose their return values. This flaw can enable the attacker to run arbitrary code or retrieve sensitive data from the server, posing a significant confidentiality and integrity risk.

Affected Systems

The vulnerability affects all installations of Frappe ERPNext using a Financial Report Template that references a calculation_formula, specifically versions before 16.34.1 of the ERPNext application. Users with the Accounts Manager role have the necessary access to create or modify such templates, providing the necessary entry points for exploitation.

Risk and Exploitability

The CVSS score of 5.3 suggests a moderate severity for this flaw. Exploitation requires authenticated access with Accounts Manager privileges and the ability to modify a financial report template, so it is not a pure remote attack vector. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog, but the potential to execute arbitrary server‑side code warrants timely attention. The attacker would likely target users with sufficient permissions, especially in environments where financial reporting is a critical function.

Generated by OpenCVE AI on September 23, 2026 at 16:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official ERPNext patch to reach version 16.34.1 or later; this update enforces whitelisting of calculation_formula values.
  • If the patch cannot be applied immediately, revoke the Accounts Manager role from users who do not need access to create or edit financial report templates, thereby limiting the attack surface.
  • Review existing financial report templates for suspicious or unintended calculation_formula values and remove or correct any that reference non‑whitelisted methods.

Generated by OpenCVE AI on September 23, 2026 at 16:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Frappe ERPNext before 16.34.1 Unauthorized Method Invocation
First Time appeared Frappe
Frappe erpnext
Weaknesses CWE-470
CPEs cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe erpnext
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-29T01:59:12.888Z

Reserved: 2026-09-23T15:10:27.415Z

Link: CVE-2026-96672

cve-icon Vulnrichment

Updated: 2026-09-29T01:59:09.577Z

cve-icon NVD

Status : Deferred

Published: 2026-09-23T16:16:49.993

Modified: 2026-09-29T02:16:56.117

Link: CVE-2026-96672

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T17:15:07Z

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')