CVE-2026-81888: CWE-352: Cross-Site Request Forgery (CSRF) in honojs @hono/oauth-providers
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.
CVSS v3.1
Score 5.4medium
Affected software
honojs
@hono/oauth-providers
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in @hono/oauth-providers involves improper validation of the OAuth callback's `state` parameter. Before version 0.8.6, the middleware accepts callbacks without verifying the presence of the `state` value on both sides, which is intended as an anti-CSRF measure. This allows an attacker to bypass the CSRF protection mechanism, potentially enabling unauthorized OAuth callback processing. The issue is fixed in version 0.8.6 by enforcing proper `state` validation.
Potential Impact
An attacker could exploit this vulnerability to bypass the OAuth callback's CSRF protection, potentially leading to unauthorized actions or login attempts being accepted by the application. The impact is limited to confidentiality and integrity with no availability impact, as indicated by the CVSS vector. The severity is medium with a CVSS score of 5.4.
Mitigation Recommendations
Upgrade to version 0.8.6 or later of @hono/oauth-providers where the patch enforcing proper `state` parameter validation is applied. No other mitigation is specified or required by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-27T17:48:42.123Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a95e616acd9273b498f36f6
Added to database: 08/31/2026, 20:37:42 UTC
Last enriched: 09/07/2026, 14:49:17 UTC
Last updated: 10/15/2026, 18:48:24 UTC
Views: 83
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.