---
id: CVE-2026-96672
title: >-
  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()
summary: >-
  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 pa…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-470
vendor: Frappe
product: ERPNext
affected:
  - ERPNext >= 16.0.0 < 16.34.1
published: '2026-09-23'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T16:16:50.133'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96672'
references:
  - url: 'https://github.com/frappe/erpnext'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/frappe/erpnext/blob/v16.34.0/erpnext/accounts/doctype/financial_report_template/financial_report_engine.py#L1166-L1171
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/frappe/erpnext/blob/v16.34.0/erpnext/accounts/doctype/financial_report_template/financial_report_template.json
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/frappe/erpnext/commit/7aad59b129711e9bba17b25665428d1fc57bf37c
    label: disclosure@vulncheck.com
  - url: 'https://github.com/frappe/erpnext/security/advisories/GHSA-794x-fhm7-58j7'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/frappe-erpnext-before-16.34.1-unauthorized-method-invocation
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-23T16:27:22.658Z'
epss: 0.00217
epssPercentile: 0.10808
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
