CVSS 9.6 Vulnerability Enables SSRF Attacks That Can Expose Internal Services, Cloud Metadata, and Authentication Infrastructure


Vendor: Better Auth
Severity: Critical
Primary CVE: CVE-2026-53513
CVSS v3.1: 9.6


Executive Summary

Critical SSRF Vulnerability Discovered in Better Auth SSO Plugin

CyberShelter Threat Intelligence has identified a critical security vulnerability affecting the @better-auth/sso plugin. Tracked as CVE-2026-53513, the flaw allows authenticated users to abuse OpenID Connect (OIDC) provider registration to perform Server-Side Request Forgery (SSRF) attacks.

If exploited successfully, attackers could force application servers to communicate with internal resources, cloud metadata services, administrative interfaces, or attacker-controlled endpoints. In specific configurations where trustEmailVerified is enabled, the vulnerability may also allow account takeover.

Organizations using the Better Auth SSO plugin should therefore upgrade to version 1.6.11 or later immediately.

Key Insight: By combining SSRF with authentication weaknesses, attackers may gain unauthorized access to internal infrastructure, cloud credentials, and user accounts.


Threat Overview

Authentication Systems Become an Entry Point

Single Sign-On (SSO) solutions play a critical role in modern authentication. Consequently, vulnerabilities affecting these components can expose multiple enterprise applications and cloud environments.

Because the flaw abuses OIDC provider registration, attackers may redirect server-side requests toward sensitive internal services that are normally inaccessible from the internet.


Vulnerability Details

CVE-2026-53513

AttributeDetails
CVECVE-2026-53513
SeverityCritical
CVSS v3.19.6
Vulnerability TypeServer-Side Request Forgery (SSRF)
Authentication RequiredYes
Affected Component@better-auth/sso Plugin
Potential ImpactSSRF, Account Takeover

The vulnerability allows authenticated users to manipulate OIDC provider registration, forcing the application server to send requests to internal or attacker-controlled destinations.


Potential Business Impact

Internal Infrastructure and User Accounts May Be Exposed

Successful exploitation could allow attackers to:

  • Perform Server-Side Request Forgery (SSRF)
  • Access internal APIs and backend services
  • Expose cloud metadata and credentials
  • Reach Redis instances and administrative interfaces
  • Take over user accounts when trustEmailVerified is enabled
  • Escalate privileges within applications
  • Move laterally across enterprise environments
  • Increase the risk of cloud infrastructure compromise

Furthermore, attackers could leverage exposed credentials to gain broader access across connected cloud resources.


Affected Products

Vulnerable and Fixed Versions

ProductAffected VersionsFixed Version
@better-auth/ssoVersion 0.1.0 through versions earlier than 1.6.111.6.11 or later

Organizations should verify deployed versions immediately and upgrade vulnerable installations without delay.


Why This Matters

SSRF Continues to Be a High-Impact Cloud Attack Vector

Server-Side Request Forgery remains one of the most dangerous web application vulnerabilities because it allows attackers to reach systems that are otherwise protected by internal network boundaries.

When authentication services are affected, attackers may gain access to cloud metadata, internal APIs, privileged services, and sensitive business applications. Therefore, rapid remediation is essential to reduce organizational risk.


CyberShelter Recommendations

01 — Upgrade Immediately

Update all @better-auth/sso deployments to Version 1.6.11 or later.

02 — Review Authentication Configuration

Audit OIDC provider registration settings and disable trustEmailVerified unless it is absolutely required for business operations.

03 — Restrict Outbound Network Access

Limit outbound connections from application servers to approved destinations only. This significantly reduces the effectiveness of SSRF attacks.

04 — Monitor Authentication Activity

Review authentication logs, OIDC registration events, and outbound network requests for unusual or unauthorized activity.

05 — Protect Internal Services

Restrict access to Redis instances, cloud metadata endpoints, and administrative interfaces through network segmentation and firewall policies.

06 — Apply Least-Privilege Access

Limit application permissions and ensure service accounts have only the minimum privileges required.

07 — Conduct Security Assessments

Perform regular application security testing to identify SSRF vulnerabilities, authentication weaknesses, and cloud configuration risks before attackers can exploit them.


Strategic Perspective

Securing Identity Services Protects the Entire Environment

Authentication platforms often provide direct access to business-critical applications and cloud resources. As a result, vulnerabilities affecting SSO components can have consequences far beyond a single application.

Organizations should therefore combine timely patching with secure authentication configurations, network segmentation, outbound traffic controls, and continuous monitoring. Together, these measures reduce the likelihood of account compromise while strengthening overall cloud security.

CyberShelter recommends treating CVE-2026-53513 as a high-priority vulnerability and completing remediation as quickly as possible.