---
id: "CVE-2026-124315"
page: "https://infrastack.ai/live/CVE-2026-124315"
kind: "vulnerability"
aliases: ["CVE-2026-124315"]
title: "ERPNext: missing permission checks let any logged-in user read BOM costs"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["erpnext", "frappe", "manufacturing", "runtime", "self-hosted"]
not_affected_if: ["no-portal-users", "patched-version"]
published_at: "2026-11-07T15:17:15+00:00"
first_seen_at: "2026-11-07T15:47:57+00:00"
updated_at: "2026-11-07T15:48:09+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124315", "first_seen_at": "2026-11-07T15:47:57+00:00"}]
exploit_sources: []
---

# ERPNext: missing permission checks let any logged-in user read BOM costs

Link for people: https://infrastack.ai/live/CVE-2026-124315 (this .md is for agents)

ERPNext's whitelisted get_bom_items and get_bom_diff methods skip the read permission check on Bills of Materials. Any authenticated user, including portal or no-role users, can read every raw material, quantity, rate and cost of a BOM.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed ERPNext version with `bench version` and compare it to the fixed ranges.
- Review who holds accounts on the site, especially portal or no-role users.

## Fix

- ERPNext before 15.121.4: move to `15.121.4`
- ERPNext 16.x before 16.36.0: move to `16.36.0`

## Timeline

- 2026-11-07T15:47:57+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124315

## Documents

- [advisory] Vendor advisory: github.com https://github.com/frappe/erpnext/security/advisories/GHSA-w587-ghqf-6jpp
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/frappe-erpnext-before-15.121.4-and-16.36.0-missing-authorization-via-get-bom-items
- [fix] Patch: github.com https://github.com/frappe/erpnext/commit/48635ee6b56a08dc5663d283d8e29c4e30190ad3
- [fix] Patch: github.com https://github.com/frappe/erpnext/commit/aea326869b4f7ba96629eaec7e5d2eff3957c364

## From the sources

Frappe ERPNext before 15.121.4 and 16.x before 16.36.0 contains a missing authorization vulnerability in the whitelisted get_bom_items and get_bom_diff methods that skip BOM read permission checks. Any authenticated user, including portal or no-role users, can call get_bom_items with a BOM name to retrieve every raw material, quantity, rate and cost.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
