{"id":"CVE-2026-108746","state":"PUBLISHED","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.","publishedAt":"2026-10-11T12:19:48.014Z","updatedAt":"2026-10-13T13:31:24.440Z","severity":{"score":8.7,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Vearch vearch"],"affected":[{"vendor":"Vearch","product":"vearch","packageURL":"pkg:golang/github.com/vearch/vearch/v3","defaultStatus":"unaffected","versions":[{"version":"3.5.2","status":"affected","lessThanOrEqual":"3.5.9","versionType":"semver"}],"repo":"https://github.com/vearch/vearch"}],"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"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/108xxx/CVE-2026-108746.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-108746","state":"PUBLISHED","datePublished":"2026-10-11T12:19:48.014Z","dateUpdated":"2026-10-13T13:31:24.440Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-11T01:53:20.815Z"},"containers":{"cna":{"title":"Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Vearch","product":"vearch","packageURL":"pkg:golang/github.com/vearch/vearch/v3","defaultStatus":"unaffected","versions":[{"version":"3.5.2","status":"affected","lessThanOrEqual":"3.5.9","versionType":"semver"}],"repo":"https://github.com/vearch/vearch"}],"references":[{"url":"https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass","tags":["third-party-advisory"]},{"url":"https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/entity/user.go#L300-L313","tags":["technical-description"]},{"url":"https://github.com/vearch/vearch/blob/bae78b189ff0ab1d8ac659c6acaeeb5f630db33f/internal/master/services/role_service.go#L180-L229","tags":["technical-description"]},{"url":"https://github.com/vearch/vearch","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/vearch-3.5.2-through-3.5.9-incorrect-authorization-via-role-haspermissionforresources","name":"VulnCheck Advisory: Vearch 3.5.2 through 3.5.9 Incorrect Authorization via Role.HasPermissionForResources","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-11T12:19:48.014Z"},"datePublic":"2026-10-10T00:00:00.000Z","credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://hackmd.io/@haind/vearch-rbac-privilege-level-ignored-authz-bypass","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-13T13:28:30.239850Z","id":"CVE-2026-108746","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-13T13:31:24.440Z"}}]}}}