Skip to content

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

MediumCVSS 5.4 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
hono @hono/oauth-providers(npm) < 0.8.6 0.8.6 Fixed
honojs @hono/oauth-providers = < 0.8.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
honojs @hono/oauth-providers = < 0.8.6 No fix listed
hono @hono/oauth-providers(npm) < 0.8.6 0.8.6

References