{"api_version":"1","generated_at":"2026-09-04T01:33:23+00:00","cve":"CVE-2026-81888","urls":{"html":"https://cve.report/CVE-2026-81888","api":"https://cve.report/api/cve/CVE-2026-81888.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-81888","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81888"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-08-31 21:17:52","updated_at":"2026-09-01 15:17:31"},"problem_types":["CWE-352","CWE-1275","CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)","CWE-1275 CWE-1275: Sensitive Cookie with Improper SameSite Attribute"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","data":{"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"}}],"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","name":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/honojs/middleware/pull/2040","name":"https://github.com/honojs/middleware/pull/2040","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-81888","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81888","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"honojs","product":"@hono/oauth-providers","version":"affected < 0.8.6","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"81888","cve":"CVE-2026-81888","epss":"0.001490000","percentile":"0.043730000","score_date":"2026-09-03","updated_at":"2026-09-04 00:08:07"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-81888","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-09-01T14:15:08.751502Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-01T14:59:01.902Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"@hono/oauth-providers","vendor":"honojs","versions":[{"status":"affected","version":"< 0.8.6"}]}],"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."}],"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","description":"CWE-352: Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1275","description":"CWE-1275: Sensitive Cookie with Improper SameSite Attribute","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-31T20:27:33.165Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q"},{"name":"https://github.com/honojs/middleware/pull/2040","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/middleware/pull/2040"},{"name":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1"},{"name":"https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6"}],"source":{"advisory":"GHSA-fm3f-ch8h-qw8q","discovery":"UNKNOWN"},"title":"@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-81888","datePublished":"2026-08-31T20:27:33.165Z","dateReserved":"2026-08-27T17:48:42.123Z","dateUpdated":"2026-09-01T14:59:01.902Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-31 21:17:52","lastModifiedDate":"2026-09-01 15:17:31","problem_types":["CWE-352","CWE-1275","CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)","CWE-1275 CWE-1275: Sensitive Cookie with Improper SameSite Attribute"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-01T14:15:08.751502Z","id":"CVE-2026-81888","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"81888","Ordinal":"1","Title":"@hono/oauth-providers: OAuth state check fails open on omitted s","CVE":"CVE-2026-81888","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"81888","Ordinal":"1","NoteData":"@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.","Type":"Description","Title":"@hono/oauth-providers: OAuth state check fails open on omitted s"}]}}}