{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "15.115.0"
              },
              {
                "fixed": "16.26.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b5f784612d5b7969b72848dda5b22f10d3a8f764"
            },
            {
              "fixed": "666becc6706e99ede24a831f27c858a5e7899af0"
            }
          ],
          "repo": "https://github.com/frappe/erpnext",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g8r3-82j6-wp48"
  ],
  "database_specific": {
    "cna_assigner": "Fluid Attacks",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13227.json"
  },
  "details": "An Improper Authorization vulnerability exists in ERPNext version \u003cv16.25.0 and \u003c15.115.0  due to insufficient access control in the whitelisted API method erpnext.crm.doctype.prospect.prospect.get_opportunities.\n\nThis issue affects ERPNext: before 15.115.0, before 16.26.0.",
  "id": "CVE-2026-13227",
  "modified": "2026-08-12T03:51:19.300739293Z",
  "published": "2026-08-04T20:53:53.785Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://fluidattacks.com/es/advisories/kraviz"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13227.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/erpnext/security/advisories/GHSA-g8r3-82j6-wp48"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-13227"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/releases?page=2#release-v15.115.0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/releases?page=2#release-v16.26.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/frappe/erpnext"
    }
  ],
  "schema_version": "1.9.0",
  "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": "ERPNext v16.25.0 - Improper authorization in Prospect opportunities API"
}