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 score9.4
SeverityCritical
VersionCVSS 4.0
VectorCVSS: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 byCNA

Weaknesses

  • CWE-327 — Use of a Broken or Risky Cryptographic Algorithm

Affected products

VendorProductVersions
better-authbetter-auth0 to <1.6.11; 1.6.11

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 02 Aug 2026 07:05 UTC.