CVE-2026-96672

6.4

Frappe · ERPNext

Frappe ERPNext fails to validate calculation formulas in Financial Report Templates, allowing authenticated users to invoke non-whitelisted server-side methods via arbitrary dotted Python paths.

Executive summary

An improper input validation vulnerability in Frappe ERPNext allows authenticated Accounts Managers to execute arbitrary server-side methods, posing a significant risk of unauthorized data access.

Vulnerability

The application fails to properly sanitize calculation_formula inputs within Financial Report Templates before passing them to the frappe.call() function. An attacker with the "Accounts Manager" role can supply arbitrary dotted Python paths to trigger internal, non-whitelisted server-side methods and retrieve their output.

Business impact

This vulnerability enables authenticated users to bypass intended application logic and access sensitive internal server-side functions. While the CVSS score of 6.4 reflects a medium severity, the potential for unauthorized data exfiltration or manipulation of internal business logic by an insider or compromised account poses a substantial risk to data confidentiality and operational integrity.

Remediation

Immediate Action: Update Frappe ERPNext to version 16.34.1 or later to implement the required input validation for report templates.

Proactive Monitoring: Review system access logs for unusual activity involving the Financial Report Template module, specifically looking for unexpected calls to internal system methods.

Compensating Controls: Restrict administrative access to the Financial Report Template module to only essential personnel until the update can be applied. Implement strict role-based access control (RBAC) to ensure that only authorized users can modify financial report configurations.

Exploitation status

Public Exploit Available: No

Analyst recommendation

Given the ability to execute unauthorized server-side code, organizations should prioritize upgrading their ERPNext instances to version 16.34.1 immediately. Although this requires authenticated access, the risk of privilege escalation or data exposure within a critical financial system necessitates a prompt patching cycle to maintain a secure posture.

More Frappe CVEs all →

History

  1. Analyst report written

Sources

Originally found and disclosed by SRTSubmersionAI, per the CVE Program record.