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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-31 · Modified: 2026-09-01
- Aliases: GHSA-fm3f-ch8h-qw8q
- Record: https://cvemate.com/vulnerability/CVE-2026-81888 · JSON: https://cvemate.com/vulnerability/CVE-2026-81888/json

## Description

```text
@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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- EPSS: 0.149%, percentile 4.247%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- honojs @hono/oauth-providers: \< 0.8.6
- @hono oauth-providers (Npm): \< 0.8.6

## References

- <https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q>
- <https://github.com/honojs/middleware/pull/2040>
- <https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1>
- <https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6>
- <https://github.com/honojs/middleware>

---

Data as of 2026-12-05T08:02:13.311Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
