{"id":"CVE-2026-40946","aliases":["CVE-2026-40946","GHSA-fhvp-9hcj-6m33","GO-2026-5364"],"related":[],"kind":"vulnerability","state":"published","title":"Oxia: OIDC token audience validation bypass via SkipClientIDCheck","summary":"Oxia is a metadata store and coordination system. Prior to 0.16.2, the OIDC authentication provider unconditionally sets SkipClientIDCheck: true in the go-oidc verifier configuration, disabling the standard audience (aud) claim validation at the library level. This allows tokens issued for unrelated services by the same OIDC issuer to be accepted by Oxia. This vulnerability is fixed in 0.16.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Oxia is a metadata store and coordination system. Prior to 0.16.2, the OIDC authentication provider unconditionally sets SkipClientIDCheck: true in the go-oidc verifier configuration, disabling the standard audience (aud) claim validation at the library level. This allows tokens issued for unrelated services by the same OIDC issuer to be accepted by Oxia. This vulnerability is fixed in 0.16.2.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe OIDC authentication provider unconditionally sets `SkipClientIDCheck: true` in the `go-oidc` verifier configuration, disabling the standard audience (`aud`) claim validation at the library level. This allows tokens issued for unrelated services by the same OIDC issuer to be accepted by Oxia.\n\n### Impact\nIn deployments using OIDC authentication, an attacker possessing a valid JWT token issued by the same identity provider but intended for a different service (different `client_id`/`aud`) can authenticate to Oxia. This bypasses the intended audience isolation of OAuth2/OIDC.\n\nAll versions using OIDC authentication are affected.\n\n### Details\nIn `oxiad/common/rpc/auth/oidc.go`, both `createStaticKeyVerifier()` and `createRemoteVerifier()` set `SkipClientIDCheck: true`. While a custom audience check exists in `Authenticate()`, the library-level check — which validates the `aud` claim against the expected `client_id` — is completely bypassed.\n\n### Patches\nFixed by removing `SkipClientIDCheck: true` and setting the `ClientID` field from the configured `AllowedAudiences`.\n\n### Workarounds\nEnsure network-level isolation so that only trusted services can reach the Oxia gRPC endpoints.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Oxia has an OIDC token audience validation bypass via SkipClientIDCheck in github.com/oxia-db/oxia","format":"markdown","source":"go"}],"published":"2026-04-14T23:14:49.000Z","modified":"2026-06-25T19:56:35.502Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"< 0.16.2","status":"affected"}],"vendor":"oxia-db","product":"oxia","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.16.2"}],"ecosystem":"Go","package":"github.com/oxia-db/oxia","purl":"pkg:golang/github.com/oxia-db/oxia","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.16.2"}],"ecosystem":"Go","package":"github.com/oxia-db/oxia","purl":"pkg:golang/github.com/oxia-db/oxia","source":"go"}],"references":[{"url":"https://github.com/oxia-db/oxia/security/advisories/GHSA-fhvp-9hcj-6m33","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40946","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/oxia-db/oxia","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-22T17:53:34.787Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40946","url":"https://www.cve.org/CVERecord?id=CVE-2026-40946","licence":"CVE Terms of Use","modified":"2026-04-22T18:11:23.671Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fhvp-9hcj-6m33","url":"https://github.com/advisories/GHSA-fhvp-9hcj-6m33","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:35.502Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5364","url":"https://pkg.go.dev/vuln/GO-2026-5364","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:34.257Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40946","licence":"Public domain","modified":"2026-06-17T10:45:55.520Z"}],"updatedAt":"2026-11-25T22:59:19.200Z","epss":{"score":0.0032,"percentile":0.26988,"date":"2026-12-01T12:00:22.000Z"}}