CVE-2026-134415 in ERPNext
Summary
by MITRE • 11/21/2026
Frappe ERPNext 11.0.0-beta before 15.121.4 and 16.x before 16.36.0 contains a missing authorization vulnerability in a Selling module endpoint that returns customer loyalty point balances without checking the caller's permission on the requested records. Authenticated attackers, including portal users or users with no assigned roles, can send crafted requests naming records outside their permitted scope to read other customers' loyalty point balances.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/21/2026
The vulnerability identified in Frappe ERPNext versions prior to 15.121.4 and 16.x before 16.36.0 represents a critical failure in access control mechanisms within the application's Selling module. Specifically, an endpoint designed to retrieve customer loyalty point balances fails to enforce proper authorization checks against the requesting user's permissions or assigned roles. This architectural flaw allows any authenticated entity interacting with this API to bypass intended security boundaries and access sensitive financial data belonging to other customers. The core issue lies in the server-side logic which trusts client-supplied identifiers without validating whether the caller has legitimate ownership or administrative rights over those specific records, creating a classic case of insecure direct object references where resource identification is decoupled from permission verification.
From an operational perspective, this missing authorization vulnerability enables authenticated attackers to exfiltrate sensitive customer information with minimal effort. The threat actor does not require elevated privileges such as administrator access; even portal users or accounts with no specific roles assigned can exploit this flaw by crafting HTTP requests that specify target customer identifiers outside their permitted scope. By iterating through potential customer IDs, an attacker can systematically harvest loyalty point balances for numerous individuals, leading to a significant breach of data confidentiality and privacy compliance standards like GDPR or CCPA. The impact extends beyond mere data leakage as it may also facilitate social engineering attacks where attackers use accurate financial details to gain trust or conduct fraud against targeted customers.
This vulnerability aligns with CWE-284 Improper Access Control, specifically reflecting the sub-category of insufficient authorization checks during resource access. In terms of offensive security frameworks, this behavior maps directly to MITRE ATT&CK technique T1078 Valid Accounts and potentially T1539 Steal Web Session Cookie if session hijacking is combined with data exfiltration, though primarily it falls under unauthorized information retrieval via API abuse. The lack of server-side validation means that the application relies entirely on client-side controls or assumes all authenticated users have universal read access to loyalty balance endpoints, which contradicts the principle of least privilege fundamental to secure software design.
To mitigate this vulnerability, immediate patching is required by upgrading Frappe ERPNext to version 15.121.4 or later for the v15 branch and version 16.36.0 or later for the v16 branch. These updates include corrected authorization logic that validates user permissions against the requested resource before returning data. In environments where immediate patching is not feasible, temporary mitigations should focus on restricting access to the affected API endpoint via web application firewalls by limiting requests to known internal IP ranges if applicable or implementing strict rate limiting and monitoring for anomalous patterns of bulk ID enumeration. Additionally, developers must ensure that all future endpoints adhere to rigorous input validation protocols where every request is explicitly checked against the user's role-based permissions before processing sensitive data retrieval operations.