CVE-2026-81888
MEDIUM 5.4CVSS 3.1@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
@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
- 31 Aug 2026
- Last modified
- 15 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1275CWE-352
- Also known as
- GHSA-fm3f-ch8h-qw8q
- Sources
- NVDJSONOSV GHSA-fm3f-ch8h-qw8qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @hono/oauth-providers | < 0.8.6 | 0.8.6 |
References
- https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1 · WEB
- https://github.com/honojs/middleware/pull/2040 · WEB
- https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6 · WEB
- https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q · WEB
- https://github.com/honojs/middleware · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Aug 2026)