{"id":"GHSA-fm3f-ch8h-qw8q","revision":null,"records":[{"revision":"04c1e8483d2a49c899afb4f326929a83","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-81888","aliases":[],"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":0,"publishedAt":"2026-08-31T20:27:33.165+00:00","modifiedAt":"2026-09-01T14:59:01.902+00:00","affected":[{"ecosystem":"Vendor product","name":"@hono/oauth-providers","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"honojs\",\n                    \"product\": \"@hono/oauth-providers\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.8.6\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-81888","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-81888","identifiers":["CVE-2026-81888"]},"retained":false,"historicalAffected":[]},{"revision":"88bddcd1fbdd4df093ac2b5dd83f6181","observedAt":"2026-11-11T16:10:34.461+00:00","statement":{"source":"euvd","id":"EUVD-2026-68770","aliases":["CVE-2026-81888","GHSA-fm3f-ch8h-qw8q"],"title":"@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 callb…","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":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"severity":null}],"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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-68770","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 31, 2026, 8:27:33 PM","dateUpdated":"Sep 1, 2026, 2:59:01 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-68770","identifiers":["EUVD-2026-68770","CVE-2026-81888","GHSA-fm3f-ch8h-qw8q"]},"retained":false,"historicalAffected":[]},{"revision":"1d07c7ef76af48be8df8a3cf21c3e7f1","observedAt":"2026-10-25T16:19:10.271+00:00","statement":{"source":"nvd","id":"CVE-2026-81888","aliases":[],"title":"@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 callb…","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":0,"publishedAt":"2026-08-31T21:17:52.317+00:00","modifiedAt":"2026-09-09T21:09:13.08+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"references":["https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1","https://github.com/honojs/middleware/pull/2040","https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6","https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-81888","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-352","CWE-1275"],"productCriteria":[],"sourceDates":{"published":"2026-08-31T21:17:52.317","lastModified":"2026-09-09T21:09:13.080"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-81888","identifiers":["CVE-2026-81888"]},"retained":false,"historicalAffected":[]},{"revision":"453211db80d14f2a91a9312628834649","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-fm3f-ch8h-qw8q","aliases":["CVE-2026-81888"],"title":"@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking","description":"### Summary\n\nThe 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.\n\n### Details\n\nThe `state` check treated two absent values as a match, so a callback that omits `state` — and for which no `state` was ever stored — was allowed to redeem the authorization code. Hono's `csrf()` middleware does not help: it only inspects form-style requests, while the OAuth callback is a top-level `GET` navigation it treats as safe.\n\nThis affects the `google`, `github`, `facebook`, `discord`, `twitch`, `linkedin`, and `msentra` providers. The `x` (Twitter) provider is not exploitable due to its PKCE binding.\n\n### Impact\n\nAn attacker can make a victim's browser complete an OAuth callback that binds the attacker's identity instead of the victim's, leading to login CSRF (the victim silently acts inside the attacker's account) or forced account linking (the attacker's identity is linked to the victim's account, enabling later sign-in as the victim). Affects applications using an affected provider on `@hono/oauth-providers` `0.8.5` or earlier.","state":0,"publishedAt":"2026-08-31T20:30:50+00:00","modifiedAt":"2026-09-15T05:30:05.0530195+00:00","affected":[{"ecosystem":"npm","name":"@hono/oauth-providers","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.8.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"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","https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6"],"sourceUrl":"https://github.com/advisories/GHSA-fm3f-ch8h-qw8q","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-fm3f-ch8h-qw8q","identifiers":["GHSA-fm3f-ch8h-qw8q","CVE-2026-81888"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T14:58:44.3363234+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T14:58:44.3363234+00:00","lastSuccessAt":"2026-11-13T14:58:44.5141359+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:44.5141368+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-321382fc5730a00bef582c627181233f63f76828d1f8c684a35769006df72dd6","complete":true,"records":425393,"lastAttemptAt":"2026-11-13T14:56:59.0753591+00:00","lastSuccessAt":"2026-11-13T14:56:58.979484+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:56:59.0753591+00:00","snapshotPublishedAt":"2026-11-13T14:29:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2eea6e828a794466b37ab585da9e8046","complete":false,"records":13797,"lastAttemptAt":"2026-11-13T15:08:19.4301002+00:00","lastSuccessAt":"2026-11-13T15:08:18.408+00:00","error":"595 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T15:08:18.408+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":12807,"expectedIdentifiers":13850,"failedIdentifiers":595},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T14:58:44.3363234+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T14:58:44.3363234+00:00","lastSuccessAt":"2026-11-13T14:58:44.5149276+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:44.5149277+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c4db44c2f8494656b34b99b9689fe3fd","complete":true,"records":13797,"lastAttemptAt":"2026-11-13T14:58:49.0732225+00:00","lastSuccessAt":"2026-11-13T14:58:49.069+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:49.069+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13850,"expectedIdentifiers":13850,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T14:58:40.3714043+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:40.3714043+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T14:56:59.1280107+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:56:59.1280107+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-b98055ddd8730ffa62c2a08d5fcf33dfdf9704c3bfb02936eddd878e2c44c283","complete":true,"records":3146,"lastAttemptAt":"2026-11-13T14:58:44.2985337+00:00","lastSuccessAt":"2026-11-13T14:58:44.1320252+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:44.2985337+00:00","snapshotPublishedAt":"2026-11-13T13:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-1c778759030c865168b5e9dee5772455ec2cc2e719ea7dfbebee29f18fbbe4ff","complete":true,"records":231771,"lastAttemptAt":"2026-11-13T14:58:40.2396052+00:00","lastSuccessAt":"2026-11-13T14:58:38.6112066+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:40.2396052+00:00","snapshotPublishedAt":"2026-11-13T14:32:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}