← CVE Intelligence

CVE-2026-81888

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

Description (CNA)

@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 (CNA)

Vendor / productVersions
honojs / @hono/oauth-providersaffected < 0.8.6

CWE

CWE-352, CWE-1275

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.