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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-31T20:27:33.165Z
- Modified: 2026-09-15T05:30:05.053Z
- Also known as: GHSA-fm3f-ch8h-qw8q
- Weaknesses: CWE-352, CWE-1275
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- honojs @hono/oauth-providers: < 0.8.6
- @hono/oauth-providers (npm): before 0.8.6

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-81888](https://www.cve.org/CVERecord?id=CVE-2026-81888), CVE Terms of Use, modified 2026-09-01
- GitHub Advisory Database: [GHSA-fm3f-ch8h-qw8q](https://github.com/advisories/GHSA-fm3f-ch8h-qw8q), CC-BY-4.0, modified 2026-09-15
- NVD: [CVE-2026-81888](https://nvd.nist.gov/vuln/detail/CVE-2026-81888), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-81888 · Whole record: https://cve.day/CVE-2026-81888.json · Rebuilt by cve.day 2026-11-25T22:59:35.881Z
