CVE-2026-81888 json
@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
published 2mo ago modified last mo. also GHSA-fm3f-ch8h-qw8q , EUVD-2026-68770
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @hono/oauth-providers 0.8.6
Is CVE-2026-81888 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @hono/oauth-providers | <0.8.6 |
0.8.6 |
Affected products
- honojs @hono/oauth-providers
Classification
References
-
github.com
/honojs/middleware/pull/2040
web
-
github.com
/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1
web
-
github.com
/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q
web
-
github.com
/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6
web
-
github.com
/honojs/middleware
package
Sources
- CVE List CVE-2026-81888
- GitHub Advisory GHSA-fm3f-ch8h-qw8q
- NVD CVE-2026-81888
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.