// Security Advisory Triage

better-auth OAuth proxy bypass allows attacker sign-in as any user

GitHub advisories — npm · published 2026-10-27 18:05 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-r4xp-prcw-77qf on 2026-10-27 for better-auth (npm). The OAuth proxy authentication bypass is rated high severity. Version 1.7.7 patches the vulnerability.
WHY IT MATTERSAn attacker can bypass authentication and sign in as another user. This enables full account takeover for any account in applications using the affected library.
WHAT TO DOCheck if better-auth is in your dependency tree and upgrade to 1.7.7 or later. If you use OAuth proxy authentication in better-auth, treat this as a same-cycle patch.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-r4xp-prcw-77qf
+summary: better-auth: OAuth Proxy lets an attacker sign in as another user
+severity: high
+published_at: 2026-10-27T15:32:16Z
+cve_id:
+vulnerabilities[].package.name: better-auth
+vulnerabilities[].first_patched_version: 1.7.7
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningOAuth authentication bypass in widely-used library enables account takeover attacks.
signalsknown exploitation vector: OAuth proxy authentication bypass · severity: high · affects authentication library in dependency tree · new advisory with patched version available · authentication compromise enables account takeover
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)