{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.10.4"
                  },
                  {
                    "fixed": "15.122.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "16.0.0"
                  },
                  {
                    "fixed": "16.50.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "028ae5b34ff558da436155814bc9f2fc83ea08a6"
            },
            {
              "fixed": "bfd8100d42162048248b7b947f2e21fdf7999a91"
            },
            {
              "introduced": "c3fdb191b9c6bbb2b0d98d0156eafd9a3faa96b0"
            },
            {
              "fixed": "7474d9e786277383de1242ab882f16856d17a9c9"
            }
          ],
          "repo": "https://github.com/frappe/erpnext",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4mg4-7qq3-phxc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134397.json"
  },
  "details": "Frappe ERPNext 15.10.4 before 15.122.0 and 16.x before 16.50.0 contains a missing authorization vulnerability in a Stock module endpoint that checks whether an inventory number exists and creates missing Serial No and Batch master records without verifying create permission. Authenticated users can send a crafted request with a new number to create these records outside their role, affecting inventory data integrity.",
  "id": "CVE-2026-134397",
  "modified": "2026-11-21T17:46:05.220307686Z",
  "published": "2026-11-21T16:33:44.095Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134397.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/erpnext/security/advisories/GHSA-4mg4-7qq3-phxc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134397"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/frappe-erpnext-15.10.4-before-15.122.0-missing-authorization-in-stock-module-record-creation"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe ERPNext 15.10.4 before 15.122.0 Missing Authorization in Stock Module Record Creation"
}