CVE-2026-81888

@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking

Published Aug 31, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fm3f-ch8h-qw8q @hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Honojs
Honojs @hono/oauth-providers
Vendors & Products Honojs
Honojs @hono/oauth-providers
Type Values Removed Values Added
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.
Title @hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
Weaknesses CWE-1275
CWE-352
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 1, 2026, 2:59 PM
Reserved
Aug 27, 2026, 5:48 PM
Status
Deferred
Published
Aug 31, 2026, 9:17 PM
Modified
Sep 9, 2026, 9:09 PM