Advisories

Better Auth 0.4.9 before 1.7.16 OAuth Unverified Email Account Takeover

Go back
Severity
high
Date
Affecting
  • better-auth >= 0.4.9, < 1.7.16

  • better-auth >= 1.8.0-beta.0, < 1.8.0-beta.5

CWE
  • CWE-287 Improper Authentication
CVSS
7.4
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Credit
pasqualtroncone, 5255fgh
Description
Better Auth 0.4.9 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an OAuth sign-in authentication flaw that treats unverified provider emails as verified, including string "false" email_verified claims, unchecked generic OAuth profile/ID-token subject mismatches, and ignored Zoom provider options. Attackers holding a victim's address unverified at an affected provider can sign in, link to the victim's local account, and obtain its session.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.