Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. better-auth
  4. ›
  5. GHSA-r4xp-prcw-77qf

GHSA-r4xp-prcw-77qf: better-auth: OAuth Proxy lets an attacker sign in as another user

October 27, 2026

The OAuth Proxy plugin trusts any user profile it can decrypt. In the affected setup, Better Auth encrypts sign-in state, including data the caller chose, with the same secret and hands it to anyone who starts a social sign-in. An attacker can use this to get a fake profile for another user’s email address that the proxy accepts as real.

References

  • github.com/advisories/GHSA-r4xp-prcw-77qf
  • github.com/better-auth/better-auth/commit/ac54bfd67821a7607533af2059858b12bc54e26a
  • github.com/better-auth/better-auth/pull/11494
  • github.com/better-auth/better-auth/releases/tag/v1.7.7
  • github.com/better-auth/better-auth/security/advisories/GHSA-r4xp-prcw-77qf

Code Behaviors & Features

Detect and mitigate GHSA-r4xp-prcw-77qf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.5.0-beta.12 before 1.7.7

Fixed versions

  • 1.7.7

Solution

Upgrade to version 1.7.7 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/better-auth/GHSA-r4xp-prcw-77qf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:20 +0000.