Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-108746
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 21:09 UTC · Revision 1
Source evidence
Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources
core-osv · Original sourcePublished 11 Oct 2026, 12:19 UTC
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.
osv:CVE-2026-108746
Complete source record
{
"id": "84343dace279dc12fec359965e1cd43e26c427484288fbcb03d585946933424e",
"url": "https://osv.dev/vulnerability/CVE-2026-108746",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources",
"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 and delete documents with read-only access, or call PUT /roles to grant their role WriteRead privileges, escalating toward cluster administrator access.",
"evidence": "osv:CVE-2026-108746",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-108746",
"aliases": [
"CVE-2026-108746"
],
"metrics": [
{
"type": "CVSS_V4",
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vearch/vearch",
"type": "GIT",
"events": [
{
"introduced": "f549c9e7a4799c612a74fa8932611f29f72410bf"
},
{
"last_affected": "2de82d191fe3d775ab5b14855905de6c1d21cbfc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.5.2"
},
{
"last_affected": "3.5.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.5.2"
},
{
"last_affected": "3.5.9"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v3.5.9",
"v3.5.8",
"v3.5.7",
"v3.5.6",
"v3.5.5",
"v3.5.4",
"v3.5.3",
"v3.5.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108746.json"
}
}
],
"modified": "2026-10-28T02:30:51.530892047Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108746.json",
"https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass",
"https://nvd.nist.gov/vuln/detail/CVE-2026-108746",
"https://www.vulncheck.com/advisories/vearch-3.5.2-through-3.5.9-incorrect-authorization-via-role-haspermissionforresources",
"https://github.com/vearch/vearch",
"https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/entity/user.go#L300-L313",
"https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/master/services/role_service.go#L180-L229"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108746.json"
}
},
"related_cves": [
{
"value": "CVE-2026-108746",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520410,
"published_at": "2026-10-11T12:19:48.014+00:00"
}