@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| honojs | @hono/oauth-providers | before 0.8.6 | 0.8.6 | Patch available | CNA |
| — | @hono/oauth-providers (npm) | before 0.8.6 | 0.8.6 | Patch available | GHSA-fm3f-ch8h-qw8q |
- @hono/oauth-providers Vendorhonojs Affected before 0.8.6 Fixed in 0.8.6 Patch available CNA
- @hono/oauth-providers (npm) Vendor— Affected before 0.8.6 Fixed in 0.8.6 Patch available GHSA-fm3f-ch8h-qw8q
Remediation
- Fix · CNA @hono/oauth-providers (honojs) Fixed in 0.8.6
- Fix · GHSA-fm3f-ch8h-qw8q @hono/oauth-providers (npm) Fixed in 0.8.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-81888
- 2026-10-03 Alias added: GHSA-fm3f-ch8h-qw8q
References
Other 5
- 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
- https://github.com/honojs/middleware
More honojs vulnerabilities
- TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
- TI-2024-15441 @hono/node-server can't handle "double dots" in URL CVSS 3.1MEDIUM 5.3
- TI-2024-32610 Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header. CVSS 3.1MEDIUM 5.9
- TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
- TI-2026-39189 Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest CVSS 3.1MEDIUM 4.8
- TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-81888 · CVE Program
- CVE-2026-81888 · NVD
- FIRST EPSS
- GHSA-fm3f-ch8h-qw8q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences