CVE-2026-67333
Last modified
CVE-2026-67333 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. better-auth before 1.6.13 (and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3) fail to validate the scheme of redirect_uris registered via the deprecated oidc-provider plugin and the mcp plugin (which wraps the same provider). An attacker can register an OAuth client with a javascript: redirect_uri, which the authorization server later returns unchanged in the consent response. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
better-auth before 1.6.13 (and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3) fail to validate the scheme of redirect_uris registered via the deprecated oidc-provider plugin and the mcp plugin (which wraps the same provider). An attacker can register an OAuth client with a javascript: redirect_uri, which the authorization server later returns unchanged in the consent response. If the deployment's consent page navigates the browser to the returned redirectURI (e.g. assigning it to window.location.href), the attacker's JavaScript executes in the authorization-server origin, exposing the victim's session and enabling account takeover.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth | < 1.6.13 |
| better-auth | better-auth | >= 1.7.0-beta.0, < 1.7.0-beta.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-67333?
How severe is CVE-2026-67333?
How do I fix CVE-2026-67333?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-67328@better-auth/sso versions before 1.6.21 contain multiple aut…8.6
- CVE-2026-67329@better-auth/stripe versions >= 1.4.11 and < 1.6.21, and >= …7.1
- CVE-2026-6733Impact: Undici's HTTP/1.1 client is vulnerable to response q…3.7
- CVE-2026-67330@better-auth/scim (a better-auth plugin) versions >= 1.4.0-b…9.9
- CVE-2026-67331better-auth SCIM versions from 1.5.0 before 1.7.0-beta.4 fai…8.7
- CVE-2026-67332@better-auth/oauth-provider before 1.7.0-beta.4 fails to bin…6.4
- CVE-2026-67334better-auth versions before 1.6.11 fail to delete cached ses…5.1
- CVE-2026-67335better-auth versions before 1.6.2 fail to validate the OAuth…6
- CVE-2026-67336better-auth versions before 1.6.11 contain insecure cryptogr…9.4
- CVE-2026-67337better-auth versions before 1.4.9 contain a two-factor authe…7.1
- CVE-2026-67338JupyterLab before 4.5.9 contains a stored cross-site scripti…6.1
- CVE-2026-67339guzzlehttp/guzzle versions before 7.14.2 fail to properly is…6.9
Are you affected by CVE-2026-67333?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
