Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-81888 EUVD-2026-68770GHSA-fm3f-ch8h-qw8q

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

Published Aug 31, 2026 · Updated Sep 1, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
honojs @hono/oauth-providers < 0.8.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @hono/oauth-providers < 0.8.6 0.8.6 GHSA-fm3f-ch8h-qw8q

References