CVE-2026-81888
published medium CVSS 3.1 · 5.4@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| honojs | — | @hono/oauth-providers< 0.8.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| honojs | @hono/oauth-providers | < 0.8.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)
- CWE-1275 CWE-1275: Sensitive Cookie with Improper SameSite Attribute
References
4Provider assertions
2GitHub_M · cna
@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b1a60c1ea8e72a1a49321d45408a581d9aa87363fdc882dfc86e587ed9c3575f
- Ingested
- 23 Sep 2026, 09:35:04 UTC
- Source record
- Official CVE record