Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea
- https://github.com/honojs/middleware/pull/2040
- https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.
- https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q
FAQ
What is CVE-2026-81888?
CVE-2026-81888 is a vulnerability with a CVSS score of 5.4 (MEDIUM). @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, s...
How severe is CVE-2026-81888?
CVE-2026-81888 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-81888?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.