{"id":"CVE-2026-81888","published":"2026-08-31T20:27:33Z","modified":"2026-09-01T14:59:01Z","title":"@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking","vendor":"honojs","product":"@hono/oauth-providers","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00191,"percentile":0.05073,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-1275","name":"Sensitive Cookie with Improper SameSite Attribute"}],"references":[{"url":"https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/middleware/pull/2040","tags":["x_refsource_MISC"]},{"url":"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","tags":["x_refsource_MISC"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"@hono/oauth-providers","versions":["< 0.8.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-01T14:15:08.751502Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@hono/oauth-providers","vulnerableRanges":["<0.8.6"],"patched":["0.8.6"],"from":["GHSA-fm3f-ch8h-qw8q"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-68770","exploited":false,"provenance":"source"}}