CVE-2026-81888
@hono/oauth-providers is Authentication middleware for Hono. Prior …
@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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1
- github.com/honojs/middleware/pull/2040
- github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6
- github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q
- github.com/advisories/GHSA-fm3f-ch8h-qw8q
- nvd.nist.gov/vuln/detail/CVE-2026-81888
- cve.org/CVERecord?id=CVE-2026-81888
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.