CVE-2026-134424 in ERPNext
Summary
by MITRE • 11/21/2026
Frappe ERPNext 8.2.5 before 15.121.4 and 16.x before 16.36.0 contains a missing authorization vulnerability in a Stock module endpoint that returns on-hand stock quantities without checking record-level permissions. Authenticated attackers, including portal users or users without roles, can send crafted requests naming restricted records to disclose stock quantities and confirm item existence.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/21/2026
The identified security flaw resides within the Frappe ERPNext framework, specifically affecting versions prior to 15.121.4 in the legacy branch and version 16.x prior to release 16.36.0. This vulnerability is classified as a missing authorization issue that impacts the integrity of access controls governing sensitive inventory data. The core technical deficiency lies within an endpoint responsible for retrieving on-hand stock quantities, which fails to enforce record-level permissions before returning information. In secure systems, such endpoints must validate not only user authentication but also specific authorizations tied to individual records or organizational units. By omitting this critical check, the application allows any authenticated entity to bypass intended restrictions and access data that should remain confidential based on their role or assigned privileges.
The operational impact of this vulnerability is significant for organizations relying on ERPNext for supply chain management and inventory control. Because the endpoint does not verify record-level permissions, attackers who have achieved authentication can exploit this gap to disclose precise stock quantities for restricted items. This capability extends beyond simple data leakage; it enables adversaries to confirm the existence of specific inventory records even if they lack broader access rights. For portal users or individuals with minimal roles, such as basic customers or external partners, this flaw provides a mechanism to gather intelligence on internal operations without requiring elevated privileges. The ability to enumerate items and assess stock levels can facilitate further attacks, including supply chain disruption planning or targeted theft strategies by insiders who might otherwise be restricted from viewing detailed inventory reports.
From a classification perspective, this vulnerability aligns with CWE-284, which describes Improper Access Control, specifically highlighting the failure to enforce proper authorization checks on specific resources. It also maps to MITRE ATT&CK technique T1078, Valid Accounts, as exploitation relies on existing credentials rather than privilege escalation or authentication bypass. Furthermore, the ability to enumerate valid items and assess their availability relates to reconnaissance activities often associated with early-stage attack campaigns where adversaries gather information about target infrastructure before executing more destructive actions. The lack of granular permission checks underscores a broader architectural weakness in how data isolation is implemented within the application logic for multi-tenant or role-based environments.
To mitigate this vulnerability, organizations must upgrade their ERPNext instances to version 15.121.4 or later if operating on the older branch, or to version 16.36.0 and above for current releases. These updates contain patches that enforce proper record-level permission checks within the stock module endpoints. In addition to upgrading, administrators should review their access control policies to ensure that sensitive inventory data is appropriately segmented by organizational unit or role. Implementing strict input validation and ensuring that all API endpoints undergo rigorous security testing against authorization bypass scenarios can prevent similar issues in future development cycles. Regular audits of user permissions and monitoring for unusual patterns in stock query requests will further enhance the resilience of the system against exploitation attempts.