{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "15.121.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "16.0.0-beta.1"
                  },
                  {
                    "fixed": "16.36.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "48635ee6b56a08dc5663d283d8e29c4e30190ad3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "aea326869b4f7ba96629eaec7e5d2eff3957c364"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4aee12e16c664897571457c007aaa95b8364bbbb"
            },
            {
              "introduced": "b672744543ac713453825d830391dab8f42fc889"
            },
            {
              "fixed": "b30aa5334bcea94dba74f5b866af13c43a861948"
            },
            {
              "fixed": "48635ee6b56a08dc5663d283d8e29c4e30190ad3"
            },
            {
              "fixed": "aea326869b4f7ba96629eaec7e5d2eff3957c364"
            }
          ],
          "repo": "https://github.com/frappe/erpnext",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w587-ghqf-6jpp"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124315.json"
  },
  "details": "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.",
  "id": "CVE-2026-124315",
  "modified": "2026-11-11T02:30:47.684803248Z",
  "published": "2026-11-07T14:17:55.798Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124315.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/erpnext/security/advisories/GHSA-w587-ghqf-6jpp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124315"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/frappe-erpnext-before-15.121.4-and-16.36.0-missing-authorization-via-get-bom-items"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/commit/48635ee6b56a08dc5663d283d8e29c4e30190ad3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/commit/aea326869b4f7ba96629eaec7e5d2eff3957c364"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/frappe/erpnext"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/frappe/erpnext/blob/12cd563fb9a79731f75ae2a45b1446a0a2dd9e74/erpnext/manufacturing/doctype/bom/bom.py#L1618-L1623"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe ERPNext before 15.121.4 and 16.36.0 Missing Authorization via get_bom_items"
}