# CVE-2026-124316: Frappe ERPNext missing authorization in buying utilities

Source: https://junglewise.ai/threats/cve-2026-124316-frappe-erpnext-before-15-121-4-and-16-x-before-16-36-0-contains  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-07. Updated: 2026-11-07  
License: CC BY 4.0 with a link back

CVE-2026-124316 · Severity: medium · CVSS 4.3 · Published 2026-11-07

Frappe ERPNext is an open-source enterprise resource planning system that manages procurement, inventory, and business operations. A missing authorization vulnerability in the purchasing module allows authenticated users to retrieve confidential material request information from other companies by providing specific item codes. This could expose sensitive purchasing data and business plans without proper access controls.

Technologies: [Frappe ERPNext](https://junglewise.ai/threats/technologies/erpnext). Vendors: [Frappe](https://junglewise.ai/threats/vendors/frappe).

## Quick answers

**Is CVE-2026-124316 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-124316 being exploited in the wild.

**How severe is CVE-2026-124316?** Medium severity, with a CVSS score of 4.3, published 7 November 2026.

**Which products and versions are affected?** Frappe ERPNext before 15.121.4 and 16.x before 16.36.0.

**Is there a fix for CVE-2026-124316?** Yes: fixed in ERPNext 15.121.4, 16.36.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-124316 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-124316?** Check whether you run Frappe ERPNext at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in ERPNext 15.121.4, 16.36.0

## Technical details

The whitelisted erpnext.buying.utils.get_linked_material_requests method fails to enforce document-level or company permission checks, allowing authenticated users (including those with minimal roles or portal access) to query open Purchase-type Material Requests across company boundaries. The vulnerability stems from insufficient filtering on Material Request queries by company context. An attacker with any authenticated access can retrieve material request metadata and quantities for arbitrary item codes belonging to other organizations.

## Affected products

- Frappe ERPNext before 15.121.4 and 16.x before 16.36.0

## Timeline

- 2026-11-07: disclosed

## References

- [https://github.com/frappe/erpnext](https://github.com/frappe/erpnext)
- [https://github.com/frappe/erpnext/blob/12cd563fb9a79731f75ae2a45b1446a0a2dd9e74/erpnext/buying/utils.py](https://github.com/frappe/erpnext/blob/12cd563fb9a79731f75ae2a45b1446a0a2dd9e74/erpnext/buying/utils.py)

## Related threats

- [Frappe ERPNext missing authorization in BOM methods](https://junglewise.ai/threats/cve-2026-124315-frappe-erpnext-before-15-121-4-and-16-x-before-16-36-0-contains)
- [Frappe ERPNext missing authorization in CRM activities](https://junglewise.ai/threats/cve-2026-124314-frappe-erpnext-before-15-121-4-and-16-x-before-16-36-0-contains)
- [Frappe ERPNext missing authorization in get_linked_payments](https://junglewise.ai/threats/cve-2026-124313-frappe-erpnext-before-15-121-4-and-16-x-before-16-36-0-contains)
- [ERPNext authorization bypass in status modification endpoints](https://junglewise.ai/threats/cve-2026-108374-erpnext-is-a-free-and-open-source-enterprise-resource-planning)
- [ERPNext authorization bypass in Sales Person-wise Transaction Summary](https://junglewise.ai/threats/cve-2026-108373-erpnext-is-a-free-and-open-source-enterprise-resource-planning)
