{"id":"CVE-2026-108746","revision":"32b78fa9e75049e4986f89f892a29b40","records":[{"revision":"32b78fa9e75049e4986f89f892a29b40","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108746","aliases":[],"title":"Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources","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.","state":0,"publishedAt":"2026-10-11T12:19:48.014+00:00","modifiedAt":"2026-10-13T13:31:24.44+00:00","affected":[{"ecosystem":"Vendor product","name":"vearch","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Vearch\",\n                    \"product\": \"vearch\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"3.5.2\",\n                            \"lessThanOrEqual\": \"3.5.9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:golang/github.com/vearch/vearch/v3\",\n                    \"repo\": \"https://github.com/vearch/vearch\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass","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","https://github.com/vearch/vearch","https://www.vulncheck.com/advisories/vearch-3.5.2-through-3.5.9-incorrect-authorization-via-role-haspermissionforresources"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108746","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108746","identifiers":["CVE-2026-108746"]},"retained":false,"historicalAffected":[]}],"coverage":[]}