---
id: CVE-2026-108746
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-863
published: '2026-10-11'
updated: '2026-10-11'
sourceUpdated: '2026-10-11T13:17:19.230'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108746'
references:
  - url: 'https://github.com/vearch/vearch'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/entity/user.go#L300-L313
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/master/services/role_service.go#L180-L229
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/vearch-3.5.2-through-3.5.9-incorrect-authorization-via-role-haspermissionforresources
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-11T13:51:17.036Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
