Description
better-auth versions before 1.6.11 contain insecure cryptographic defaults in the oidcProvider and mcp plugins that advertise the none algorithm and accept plain PKCE by default. Attackers can exploit algorithm negotiation to accept unsigned tokens or intercept authorization codes when PKCE plain is used instead of the required S256 method.
Severity (CVSS)
| Base score | 9.4 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-327 — Use of a Broken or Risky Cryptographic Algorithm
Affected products
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth | 0 to <1.6.11; 1.6.11 |
References
Generated from the official CVE List on 02 Aug 2026 07:05 UTC.