{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.5.2"
              },
              {
                "last_affected": "3.5.9"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "f549c9e7a4799c612a74fa8932611f29f72410bf"
            },
            {
              "last_affected": "2de82d191fe3d775ab5b14855905de6c1d21cbfc"
            }
          ],
          "repo": "https://github.com/vearch/vearch",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108746.json"
  },
  "details": "Vearch 3.5.2 through 3.5.9 contains an incorrect authorization vulnerability in Role.HasPermissionForResources that ignores stored ReadOnly or None privilege levels for resources listed in a role. Authenticated non-root users can upsert and delete documents with read-only access, or call PUT /roles to grant their role WriteRead privileges, escalating toward cluster administrator access.",
  "id": "CVE-2026-108746",
  "modified": "2026-10-12T02:30:52.426846408Z",
  "published": "2026-10-11T12:19:48.014Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108746.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/vearch/vearch"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/entity/user.go#L300-L313"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/master/services/role_service.go#L180-L229"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-108746"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/vearch-3.5.2-through-3.5.9-incorrect-authorization-via-role-haspermissionforresources"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources"
}