better-auth before 1.6.11 Insecure Cryptographic Defaults via oidcProvider
better-auth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| better-auth npm |
|
|
Original 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.
From the CVE record · VulnCheck