{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "9.0.0"
              },
              {
                "fixed": "16.50.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "8ff0a64ac2710b904919c7d889df451d57da14ee"
            },
            {
              "fixed": "7474d9e786277383de1242ab882f16856d17a9c9"
            },
            {
              "fixed": "10a2400312afd17df740c6ed64e0803dfbabb623"
            }
          ],
          "repo": "https://github.com/frappe/erpnext",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109377.json"
  },
  "details": "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.",
  "id": "CVE-2026-109377",
  "modified": "2026-10-17T02:30:58.743968737Z",
  "published": "2026-10-12T20:55:09.844Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109377.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-109377"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/erpnext-9.0.0-through-16.50.0-missing-authorization-in-batch-lookup-methods"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/commit/10a2400312afd17df740c6ed64e0803dfbabb623"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/pull/60147"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/frappe/erpnext"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/frappe/erpnext/blob/v16.50.0/erpnext/stock/doctype/batch/batch.py#L235-L301"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ERPNext 9.0.0 through 16.50.0 Missing Authorization in Batch Lookup Methods"
}