Record summary

CVE-2026-67336 has a selected CVSS score of 9.4 (critical).

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.

Description source: CVE List

Exploitation context

CISA SSVC decision

ExploitationNone
AutomatableNo
Technical impactPartial

CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 3, 2026 · Source: CVE List

Affected products and versions

1
ProductSourceVersion rangeStatus

Default status: unaffected

CVE ListBefore 1.6.11affected
1.6.11unaffected

Research & analysis

1
Advisory analysisbetter-auth (gustavovalverde, subhanUmer)Source: EIP research review

Insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default

The legacy oidcProvider and mcp plugins in better-auth (before 1.6.11) exhibit two related cryptographic defects documented in a first-party advisory. The OIDC discovery document unconditionally advertises 'none' in id_token_signing_alg_values_supported, allowing algorithm-negotiation downgrade attacks where relying parties that do not pin to a specific signing algorithm may accept unsigned tokens. PKCE plain is enabled by default: the authorize handler accepts code_challenge_method=plain and silently downgrades a missing code_challenge_method to 'plain' before the allowlist check fires, contradicting the discovery document which advertises only S256 and violating RFC 9700 (OAuth 2.1). The advisory provides root cause analysis, patch details (dropping 'none' from algorithm lists, defaulting allowPlainCodeChallengeMethod to false, rejecting code_challenge without code_challenge_method), workarounds for unpatched deployments, and migration guidance to @better-auth/oauth-provider which is unaffected by both defects. Fixed in better-auth@1.6.11.

Root causeTechnical detailMitigation
https://github.com/better-auth/better-auth/security/advisories/GHSA-9h47-pqcx-hjr4
Research notes

References

1