CVE-2026-134400 in ERPNext
Summary
by MITRE • 11/21/2026
Frappe ERPNext 13.49.0 before 14.0.0, 14.17.2 before 15.124.0, and 16.x before 16.52.0 contains a missing authorization vulnerability in a Selling module endpoint that returns Sales Order line items without checking whether the caller may read the requested records. Authenticated attackers, including portal users or users with no assigned roles, can send crafted requests naming out-of-scope Sales Orders to read their line item data.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/21/2026
The vulnerability identified in Frappe ERPNext versions 13.49.0 through 14.0.0, 14.17.2 through 15.124.0, and 16.x prior to version 16.52.0 represents a critical failure in access control mechanisms within the application's Selling module. This flaw specifically affects an endpoint responsible for retrieving Sales Order line items. The core technical deficiency lies in the absence of proper authorization checks before returning data. When a request is made to this endpoint, the system fails to verify whether the authenticated user has explicit permission to view the specific sales order records being requested. Consequently, any individual who can successfully authenticate to the application, regardless of their assigned roles or permissions, can exploit this gap by crafting requests that target Sales Orders outside their authorized scope.
This missing authorization vulnerability allows attackers with minimal privileges, including portal users and those without any specific role assignments, to access sensitive business data. By manipulating request parameters to specify out-of-scope Sales Order identifiers, these unauthorized actors can retrieve detailed line item information associated with orders they should not be able to view. This capability effectively bypasses the intended security boundaries of the ERP system, leading to a significant breach of confidentiality for customer and transactional data stored within the platform.
The operational impact of this vulnerability is substantial due to the nature of enterprise resource planning systems which handle sensitive commercial information. Exposed Sales Order line items may contain proprietary pricing structures, detailed product specifications, shipping addresses, and other confidential business metrics. The ability for low-privilege users or external attackers acting as authenticated portal users to access this data undermines trust in the system's security model and can lead to competitive intelligence leaks or further exploitation if combined with other vulnerabilities.
From a classification perspective, this issue aligns directly with CWE-284, which describes Improper Access Control, specifically highlighting failures where authorization checks are omitted for sensitive operations. In terms of attack vectors, it corresponds to MITRE ATT&CK technique T1078, Valid Accounts, as the exploitation relies on valid authentication credentials rather than privilege escalation or unauthenticated access. The vulnerability also reflects aspects of CWE-639, Authorization Bypass Through User-Controlled Key, since attackers control the key (Sales Order ID) used to retrieve data without sufficient validation against their permission set.
To mitigate this risk, organizations running affected versions of Frappe ERPNext must apply the latest security patches immediately by upgrading to version 14.0.0 or later for the older branches, version 15.124.0 or later for the mid-range branch, and version 16.52.0 or later for the current release line. Until patching is complete, administrators should implement strict network-level access controls to limit exposure of ERPNext instances to trusted networks only. Additionally, reviewing user roles and permissions within the application can help minimize the blast radius by ensuring that even if an attacker gains authenticated access, their ability to query sensitive modules remains restricted through robust role-based access control policies enforced at a higher level than the vulnerable endpoint itself.