---
id: CVE-2026-109377
title: >-
  ERPNext 9.0.0 through 16.50.0 contains a missing authorization vulnerability
  that allows authenticated users to view stock quantities via whitelisted batch
  methods
summary: >-
  ERPNext 9.0.0 through 16.50.0 contains a missing authorization vulnerability
  that allows authenticated users to view stock quantities via whitelisted batch
  methods. Attackers, including customer portal users, can call get_batch_qty,
  get_…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-862
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T21:17:10.770'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109377'
references:
  - url: 'https://github.com/frappe/erpnext'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/frappe/erpnext/blob/v16.50.0/erpnext/stock/doctype/batch/batch.py#L235-L301
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/frappe/erpnext/commit/10a2400312afd17df740c6ed64e0803dfbabb623
    label: disclosure@vulncheck.com
  - url: 'https://github.com/frappe/erpnext/pull/60147'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/erpnext-9.0.0-through-16.50.0-missing-authorization-in-batch-lookup-methods
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T22:05:40.354Z'
---

## Overview

ERPNext 9.0.0 through 16.50.0 contains a missing authorization vulnerability that allows authenticated users to view stock quantities via whitelisted batch methods. Attackers, including customer portal users, can call get_batch_qty, get_batches_by_oldest or get_pos_reserved_batch_qty to list every item batch with per-warehouse quantities.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
