Skip to main content
EPSS 0.3%top 80%

CVE-2026-67328: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in better-auth sso

0
High
Published: 08/01/2026 (08/01/2026, 12:22:17 UTC)
Source: CVE Database V5
Vendor/Project: better-auth
Product: sso

Description

@better-auth/sso versions before 1.6.21 contain multiple authentication bypass vulnerabilities in SSO provider handling that allow attackers to sign in as arbitrary users. Attackers can exploit domain verification parsing mismatches, orphaned provider accounts, unbound SAML assertions, or reflected XSS on logout endpoints to gain unauthorized session access and account takeover.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

better-auth

sso

Affected versions
>=0 <1.6.21

better-auth

sso

Affected versions
>=1.7.0-beta.0 <1.7.0-beta.10
@better-auth/sso
pkg:npm/@better-auth/sso
Affected versions
<1.6.21

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/16/2026, 13:42:38 UTC

Technical Analysis

CVE-2026-67328 affects better-auth sso versions prior to 1.6.21 and involves multiple authentication bypass vulnerabilities in the handling of single sign-on (SSO) providers. The vulnerabilities arise from domain verification parsing mismatches, orphaned provider accounts, unbound SAML assertions, and reflected XSS on logout endpoints. These flaws enable attackers to bypass authentication controls and impersonate arbitrary users, potentially resulting in unauthorized session access and account takeover. The CVSS 4.0 base score is 8.6, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality and integrity.

Potential Impact

Successful exploitation allows attackers to bypass authentication mechanisms and gain unauthorized access to user sessions, leading to account takeover. This compromises confidentiality and integrity of user accounts and sessions within the better-auth sso system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor vendor communications for updates and consider restricting access or implementing additional authentication controls to mitigate risk.

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

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-29T13:07:47.015Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a6deb26bf32cb7a34c1fc1d

Added to database: 08/01/2026, 12:48:38 UTC

Last enriched: 08/16/2026, 13:42:38 UTC

Last updated: 09/14/2026, 10:01:32 UTC

Views: 63

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