p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in better-auth · Seite 2

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für better-auth: 4. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 26

  1. CVE-2026-53516

    Hoch · CVSS 8.3EPSS 0,29%Korrektur verfügbar

    Better Auth: Account takeover via OAuth auto-link to unverified pre-registered email

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, Better Auth's OAuth callback auto-link gate in handleOAuthUserInfo accepts implicit account linking when the OAuth provider asserts email_verified: true without requiring the local user row's emailVerified field to also be true, allowing an attacker who pre-registers a victim email through /sign-up/email to bind the victim's OAuth identity to the attacker's account. The same primitive affects one-tap, and emailAndPassword.requireEmailVerification: true does not mitigate the link-time verification change. This issue is fixed in version 1.6.11.

    • Auf 1.6.11 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-45364

    Hoch · CVSS 7.3EPSS 0,29%Korrektur verfügbar

    Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.4.17 and 1.5.0-beta.9, Better Auth's HTTP rate limiter keyed each request by the exact textual IP address it received in x-forwarded-for (or the configured IP-bearing header). IPv6 clients controlling a typical /64 allocation could rotate through 2^64 distinct source addresses without exhausting the per-address counter, defeating rate limiting on /sign-in/email, /sign-up/email, /forget-password, and every other path the limiter protects. The same bug allowed a single client to vary the textual encoding of one IPv6 address (uppercase, compression, IPv4-mapped

    • Auf 1.4.17 aktualisieren
    • Auf 1.5.0-beta.9 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2025-61928

    Kritisch · CVSS 9.3EPSS 18,84%Korrektur verfügbar

    Better Auth: Unauthenticated API key creation through api-key plugin

    Better Auth is an authentication and authorization library for TypeScript. In versions prior to 1.3.26, unauthenticated attackers can create or modify API keys for any user by passing that user's id in the request body to the `api/auth/api-key/create` route. `session?.user ?? (authRequired ? null : { id: ctx.body.userId })`. When no session exists but `userId` is present in the request body, `authRequired` becomes false and the user object is set to the attacker-controlled ID. Server-only field validation only executes when `authRequired` is true (lines 280-295), allowing attackers to set privileged fields. No additional authentication occurs

    • Auf 1.3.26 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2025-53535

    Niedrig · CVSS 2.1EPSS 0,38%Korrektur verfügbar

    Better Auth has an Open Redirect Vulnerability in originCheck Middleware Affecting Multiple Routes

    Better Auth is an authentication and authorization library for TypeScript. An open redirect has been found in the originCheck middleware function, which affects the following routes: /verify-email, /reset-password/:token, /delete-user/callback, /magic-link/verify, /oauth-proxy-callback. This vulnerability is fixed in 1.2.10.

    • Auf 1.2.10 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2025-27143

    Mittel · CVSS 6.9EPSS 0,35%Korrektur verfügbar

    Beter Auth has an Open Redirect via Scheme-Less Callback Parameter

    Better Auth is an authentication and authorization library for TypeScript. Prior to version 1.1.21, the application is vulnerable to an open redirect due to improper validation of the callbackURL parameter in the email verification endpoint and any other endpoint that accepts callback url. While the server blocks fully qualified URLs, it incorrectly allows scheme-less URLs. This results in the browser interpreting the URL as a fully qualified URL, leading to unintended redirection. An attacker can exploit this flaw by crafting a malicious verification link and tricking users into clicking it. Upon successful email verification, the user will

    • Auf 1.1.20 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2024-56734

    Hoch · CVSS 7.9EPSS 0,39%Korrektur verfügbar

    Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint

    Better Auth is an authentication library for TypeScript. An open redirect vulnerability has been identified in the verify email endpoint of all versions of Better Auth prior to v1.1.6, potentially allowing attackers to redirect users to malicious websites. This issue affects users relying on email verification links generated by the library. The verify email callback endpoint accepts a `callbackURL` parameter. Unlike other verification methods, email verification only uses JWT to verify and redirect without proper validation of the target domain. The origin checker is bypassed in this scenario because it only checks for `POST` requests. An at

    • Auf 1.1.6 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →