CVE-2026-81888honojs @hono/oauth-providers
Medium 5.4 No auth needed
Follow: this CVE · honojs · honojs @hono/oauth-providers We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- No
- Published
- Aug 31, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
What happens
@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.
What to do
- Apply the vendor's security update for @hono/oauth-providers.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @hono/oauth-providers |
< 0.8.6 |
0.8.6 |
npm install @hono/oauth-providers@0.8.6 |
Per OSV / GitHub Advisories (GHSA-fm3f-ch8h-qw8q). Check the version in your lockfile before upgrading.
Affected products
- honojs · @hono/oauth-providers
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.