CVE-2026-96672

Frappe ERPNext before 16.34.1 Unauthorized Method Invocation

Published Sep 23, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-470

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 29, 2026, 1:59 AM
Reserved
Sep 23, 2026, 3:10 PM
Status
Deferred
Published
Sep 23, 2026, 4:16 PM
Modified
Sep 29, 2026, 2:16 AM