{"id":"GHSA-fhvp-9hcj-6m33","summary":"Oxia has an OIDC token audience validation bypass via SkipClientIDCheck","details":"### 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.","aliases":["CVE-2026-40946","GO-2026-5364"],"modified":"2026-06-25T19:56:21.740964304Z","published":"2026-04-14T23:14:49Z","database_specific":{"nvd_published_at":"2026-04-21T22:16:20Z","cwe_ids":["CWE-287"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-04-14T23:14:49Z"},"references":[{"type":"WEB","url":"https://github.com/oxia-db/oxia/security/advisories/GHSA-fhvp-9hcj-6m33"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40946"},{"type":"PACKAGE","url":"https://github.com/oxia-db/oxia"}],"affected":[{"package":{"name":"github.com/oxia-db/oxia","ecosystem":"Go","purl":"pkg:golang/github.com/oxia-db/oxia"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.16.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.16.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-fhvp-9hcj-6m33/GHSA-fhvp-9hcj-6m33.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}