Skip to main content
EPSS 0.2%top 92%

CVE-2026-81888: CWE-352: Cross-Site Request Forgery (CSRF) in honojs @hono/oauth-providers

0
Medium
VulnerabilityCVE-2026-81888cvecve-2026-81888cwe-352cwe-1275
Published: 08/31/2026 (08/31/2026, 20:27:33 UTC)
Source: CVE Database V5
Vendor/Project: honojs
Product: @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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected software

honojs

@hono/oauth-providers

Affected versions
<0.8.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:49:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses