# CVE-2026-108746: Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-11T12:19:48.014Z
- Modified: 2026-10-16T19:18:44.867Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Vearch vearch: from 3.5.2 up to 3.5.9

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass> (exploit, third-party-advisory)
- <https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/entity/user.go#L300-L313> (technical-description)
- <https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/master/services/role_service.go#L180-L229> (technical-description)
- <https://github.com/vearch/vearch> (product)
- <https://www.vulncheck.com/advisories/vearch-3.5.2-through-3.5.9-incorrect-authorization-via-role-haspermissionforresources> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-108746](https://www.cve.org/CVERecord?id=CVE-2026-108746), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-108746](https://nvd.nist.gov/vuln/detail/CVE-2026-108746), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-108746 · Whole record: https://cve.day/CVE-2026-108746.json · Rebuilt by cve.day 2026-11-25T22:59:43.508Z
