Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

better-auth versions greater than 1.3.34 and before 1.4.0 contain a vulnerability in the multi-session plugin's /sign-out after-hook, which trusts… (CVE-2025-71402)

0
Low
Published: 08/01/2026 (08/01/2026, 15:30:23 UTC)
Source: GCVE Database

Description

better-auth versions greater than 1.3.34 and before 1.4.0 have a vulnerability in the multi-session plugin's /sign-out after-hook. The vulnerability arises because the after-hook trusts raw multi-session cookies and forwards extracted values to internalAdapter.deleteSessions without verifying the cookie signature. This allows an attacker to supply a forged _multi-* cookie to delete arbitrary session tokens.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
Scope
X
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected software

GitHub Actionsmore threats →ai
better-auth/better-auth
pkg:github/better-auth/better-auth
Affected versions
>1.3.34 <1.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 21:25:25 UTC

Technical Analysis

The vulnerability in better-auth affects versions >1.3.34 and <1.4.0 in the multi-session plugin's /sign-out after-hook. The code trusts raw multi-session cookies and forwards extracted values to internalAdapter.deleteSessions without verifying the cookie signature (e.g., via getSignedCookie). This lack of signature verification (CWE-347) enables an attacker to forge _multi-* cookies that trigger deletion of arbitrary session tokens, potentially disrupting user sessions.

Potential Impact

An attacker with the ability to supply forged multi-session cookies can cause deletion of arbitrary session tokens, potentially disrupting active user sessions. The severity is assessed as low, indicating limited impact or exploitability. There are no known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Users should monitor vendor communications for updates and consider restricting access to the /sign-out endpoint or validating cookie signatures as a temporary mitigation if feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-rf63-989x-x4x8
Osv Schema Version
1.4.0
Aliases
["CVE-2025-71402"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
4.0

Threat ID: 6a6e6299bf32cb7a344f9ee1

Added to database: 08/01/2026, 21:18:17 UTC

Last enriched: 08/01/2026, 21:25:25 UTC

Last updated: 08/01/2026, 22:22:48 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses