vulns.co
/
GKData.io MCP and API Buy me a coffee

Better Auth

Better Auth: single-use authorization requires atomic state consumption

Better Auth could issue more than one token set for a single-use OAuth authorization code during concurrent processing. Its CVE-2026-53518 disclosure explains that reading and deleting the authorization record were separate steps. The extra tokens duplicated the originally approved permissions; they did not expand them.

Open the referenceMaintainer AdvisoryReviewed 2026-10-03

How to use this reference

Model consuming a grant as one indivisible state transition, including across service replicas and storage adapters. A successful read must not itself authorize issuance. Maintainer release 1.6.11 adds atomic consumption and corroborates the OAuth fix; review adapter guarantees rather than relying on process-local serialization.

Before reading

  • OAuth authorization-code and token lifecycle concepts
  • Atomic database transitions and concurrent request handling

Context and limits

  • Requires an affected OAuth/OIDC provider deployment and a redeemable authorization code; the source does not establish bypass of code possession or PKCE.
  • Maintainer-reported behavior, not evidence of production compromise. The advisory covers @better-auth/oauth-provider 1.6.0 before 1.6.11 and specified legacy plugins; an effective external atomic single-use control changes exposure.
  • The source credits chdanielmueller as reporter; no advisory author byline is established.
  • This is a substantive maintainer disclosure corroborated by release notes, not an independently peer-reviewed paper or an award-backed record.

Sources

  1. @better-auth/oauth-provider: Parallel requests can reuse one authorization codeBetter Auth · reviewed 2026-10-03
  2. Release v1.6.11Better Auth · reviewed 2026-10-03

Record reviewed 2026-10-03. Snapshot af2809c308fc. Open the complete JSON contract.

Library synced 2026-11-18 · cases last reviewed 2026-10-05

af2809c308fc · JSON exports & schemas · CC BY 4.0 content / MIT software