CVE-2026-134321better-auth Race Condition
NVD
Vulnerability Summary
better-auth from 0.8.1-beta.5 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, and @better-auth/passkey from 1.6.25 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, let revoked sessions stay valid because secondary storage session lists are updated non-atomically and some routes trust cookie-cached sessions. An attacker holding a valid session can evade bulk revocation or bans, or use a revoked cached session to register a passkey or create a lasting session.
CVSS v4.0 Base Metrics — Score 2.3 (LOW)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.2)
CVSS v3.1 Base Metrics — Score 4.2 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- better-auth >= 0.8.1-beta.5 and < 1.7.16
- better-auth >= 1.8.0-beta.0 and < 1.8.0-beta.5
- better-auth >= 1.6.25 and < 1.7.16
- better-auth 1.7.16
- better-auth 1.8.0-beta.5
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run better-auth and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 21, 2026Published
- Nov 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new better-auth CVEsYou are reading CVE-2026-134321. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore better-auth CVEs
External References
Data last checked: Nov 22, 2026 14:11 UTC