PatchSiren cyber security CVE debrief
CVE-2026-67333 better-auth CVE debrief
The better-auth library before version 1.6.13 and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3 fails to validate the scheme of redirect_uris registered via the deprecated oidc-provider plugin and the mcp plugin. This allows an attacker to register an OAuth client with a javascript: redirect_uri, which can lead to the execution of JavaScript in the authorization-server origin, potentially exposing the victim's session and enabling account takeover.
- Vendor
- better-auth
- Product
- Unknown
- CVSS
- MEDIUM 5.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-01
- Original CVE updated
- 2026-09-08
- Advisory published
- 2026-08-01
- Advisory updated
- 2026-09-08
Who should care
Defenders responsible for maintaining and securing applications that use the better-auth library should be aware of this vulnerability and take steps to verify their inventory and apply necessary updates.
Why it matters
Defenders should prioritize verifying their inventory of better-auth library versions and applying necessary updates to prevent potential account takeover. The vulnerability allows an attacker to register an OAuth client with a javascript: redirect_uri, leading to potential execution of JavaScript in the authorization-server origin.
- Potential account takeover due to execution of JavaScript in the authorization-server origin
- Exposure of victim's session due to lack of validation of redirect_uri scheme
- Need for verification of better-auth library version and validation of registered redirect_uris
Technical summary
The better-auth library before version 1.6.13 and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3 fails to validate the scheme of redirect_uris registered via the deprecated oidc-provider plugin and the mcp plugin. This allows an attacker to register an OAuth client with a javascript: redirect_uri, which can lead to the execution of JavaScript in the authorization-server origin, potentially exposing the victim's session and enabling account takeover.
Defensive priority
Defenders should prioritize verifying their inventory of better-auth library versions and applying the necessary updates to prevent potential account takeover.
Recommended defensive actions
- Verify the version of the better-auth library in use and update to version 1.6.13 or later
- Review and validate the redirect_uris registered via the oidc-provider and mcp plugins
- Implement additional security measures to prevent account takeover, such as monitoring and incident response planning
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability in the better-auth library. The CVE Program and NIST National Vulnerability Database have assessed the vulnerability and provided CVSS scores.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-67333 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-67333
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-67333 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-67333
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/better-auth/better-auth/security/advisories/GHSA-86j7-9j95-vpqj
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/better-auth-before-stored-xss-via-javascript-redirect-uri
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.