Skip to main content

CVE-2026-96672: CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Frappe ERPNext

0
Medium
VulnerabilityCVE-2026-96672cvecve-2026-96672cwe-470
Published: 09/23/2026 (09/23/2026, 15:35:09 UTC)
Source: CVE Database V5
Vendor/Project: Frappe
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

Frappe

ERPNext

Affected versions
>=16.0.0 <16.34.1
GitHub Actionsmore threats →cve
ERPNext
pkg:github/ERPNext
Affected versions
>=16.0.0 <16.34.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 16:02:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses