{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-81888","id":"CVE-2026-81888","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.","descriptionLong":"@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.","published":"2026-08-31T20:27:33.165Z","updated":"2026-10-28T02:30:41.758261601Z","reserved":"2026-08-27T17:48:42.123Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["honojs @hono/oauth-providers"],"affectedProducts":[{"vendor":"honojs","product":"@hono/oauth-providers","defaultStatus":null,"versions":[{"version":"< 0.8.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@hono/oauth-providers","purl":"pkg:npm/%40hono/oauth-providers","ranges":["<0.8.6"],"fixed":["0.8.6"],"advisory":"GHSA-fm3f-ch8h-qw8q"}],"cwes":["CWE-352","CWE-1275"],"aliases":["GHSA-fm3f-ch8h-qw8q"],"references":[{"url":"https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/honojs/middleware/pull/2040","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81888.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81888","tags":["advisory"]},{"url":"https://github.com/honojs/middleware","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00191,"epssPercentile":0.0891,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-81888","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81888","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-81888","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fm3f-ch8h-qw8q","ok":true,"note":"GHSA-fm3f-ch8h-qw8q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-81888","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}