PT-2026-84019 · Npm · @Hono/Oauth-Providers
CVE-2026-81888
·
Published
2026-08-31
·
Updated
2026-08-31
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
@hono/oauth-providers versions prior to 0.8.6
Description
Built-in social login providers for the
google, github, facebook, discord, twitch, linkedin, and msentra providers fail to properly validate the state value during OAuth callbacks. The system treats two absent state values as a match, allowing callbacks that did not originate from a genuine login attempt to pass the anti-CSRF (Cross-Site Request Forgery) check. This occurs because the csrf() middleware only inspects form-style requests and treats the OAuth callback GET navigation as safe. This flaw can lead to login CSRF, where a victim is silently logged into an attacker's account, or forced account linking, where an attacker's identity is linked to the victim's account.Recommendations
Update to version 0.8.6.
Exploit
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
@Hono/Oauth-Providers