Security mailing lists by PureSourceCode

CVE-2026-53513

CRITICAL 9.6CVSS 3.1

@better-auth/sso provider registration has server-side request forgery via unvalidated OIDC endpoints

Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the @better-auth/sso plugin's POST /sso/register and POST /sso/update-provider endpoints accept attacker-controlled oidcConfig.userInfoEndpoint, tokenEndpoint, and jwksEndpoint URLs when skipDiscovery: true is set, store them on the ssoProvider row without origin validation, and fetch them during OIDC callback, allowing non-blind server-side request forgery and possible account linking when trustEmailVerified: true is configured. This issue is fixed in version 1.6.11.

Published
15 Jul 2026
Last modified
21 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-20CWE-345CWE-441CWE-918
Also known as
GHSA-5rr4-8452-hf4v
Sources
NVDJSONOSV GHSA-5rr4-8452-hf4vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD better-auth better-auth/sso
cpe:2.3:a:better-auth:better-auth\/sso:*:*:*:*:*:node.js:*:*
< 1.6.11 1.6.11
NVD better-auth better_auth
cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*
>= 0.1.0, < 1.6.11 1.6.11
OSV npm @better-auth/sso >= 0.1.0, < 1.6.11 1.6.11

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.