{"id":"CVE-2026-81888","state":"PUBLISHED","title":"@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking","description":"@hono/oauth-providers is Authentication middleware for Hono. Prior to version 0.8.6, the built-in social login providers accept an OAuth callback even when the `state` value is absent on both sides, so the anti-CSRF check passes for a callback that never came from a genuine login attempt. This defeats the `state`-based CSRF protection under default usage. Version 0.8.6 has a patch.","publishedAt":"2026-08-31T20:27:33.165Z","updatedAt":"2026-09-01T14:59:01.902Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["honojs @hono/oauth-providers"],"affected":[{"vendor":"honojs","product":"@hono/oauth-providers","versions":[{"version":"< 0.8.6","status":"affected"}]}],"references":["https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q","https://github.com/honojs/middleware/pull/2040","https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6"],"weaknesses":["CWE-352","CWE-1275"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81888.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81888","state":"PUBLISHED","datePublished":"2026-08-31T20:27:33.165Z","dateUpdated":"2026-09-01T14:59:01.902Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-27T17:48:42.123Z"},"containers":{"cna":{"title":"@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking","descriptions":[{"lang":"en","value":"@hono/oauth-providers is Authentication middleware for Hono. Prior to version 0.8.6, the built-in social login providers accept an OAuth callback even when the `state` value is absent on both sides, so the anti-CSRF check passes for a callback that never came from a genuine login attempt. This defeats the `state`-based CSRF protection under default usage. Version 0.8.6 has a patch."}],"affected":[{"vendor":"honojs","product":"@hono/oauth-providers","versions":[{"version":"< 0.8.6","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q","name":"https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/middleware/pull/2040","name":"https://github.com/honojs/middleware/pull/2040","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","name":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6","name":"https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1275","lang":"en","description":"CWE-1275: Sensitive Cookie with Improper SameSite Attribute","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-31T20:27:33.165Z"},"source":{"advisory":"GHSA-fm3f-ch8h-qw8q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T14:15:08.751502Z","id":"CVE-2026-81888","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-01T14:59:01.902Z"}}]}}}