CVE-2026-67336 Details
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.
A vulnerability exists in better-auth versions prior to 1.6.11, specifically within the oidcProvider and mcp plugins. These versions introduce insecure cryptographic defaults by advertising the 'none' algorithm and accepting plain PKCE by default. This allows attackers to exploit algorithm negotiation, potentially leading to the acceptance of unsigned tokens, or to intercept authorization codes when plain PKCE is used instead of the required S256 method.
Users can upgrade to better-auth version 1.6.11 or later. If an immediate upgrade is not possible, plain PKCE can be disabled explicitly by setting 'oidcProvider({ allowPlainCodeChallengeMethod: false })' and overriding the metadata to remove 'none' from the signing algorithms. Additionally, migrating to '@better-auth/oauth-provider' is recommended, as this package does not have the same vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 1, 2026CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-327 | Use of a Broken or Risky Cryptographic Algorithm | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| better-auth | < 1.6.11 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2026 | New CVE Received | [email protected] |
Volerion