CVE Explorer
CVE-2026-53518
Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint for the authorization_code grant redeems a single-use authorization code through a non-atomic find-then-delete sequence, allowing two concurrent requests to pass the read step and mint independent access tokens, refresh tokens, and ID tokens; legacy /oauth2/token and /mcp/token paths in oidc-provider and mcp plugins share the same primiti
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-362","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"better-auth","vendor":"better-auth","versions":[{"status":"affected","version":">= 1.6.0, < 1.6.11"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.6,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-362","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/better-auth/better-auth/commit/b4bc65a007784b2eb0efb459e5fa6fd8055d3ec9","tags":["x_refsource_MISC"],"url":"https://github.com/better-auth/better-auth/commit/b4bc65a007784b2eb0efb459e5fa6fd8055d3ec9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/references/1
{"name":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["x_refsource_MISC"],"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/references/2
{"name":"https://github.com/better-auth/better-auth/security/advisories/GHSA-7w99-5wm4-3g79","tags":["x_refsource_CONFIRM"],"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-7w99-5wm4-3g79"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:08b3fc6bcf162d3dbbe48801d86e3e8ed2177906279cbf2b7457e8f8237a1bba · sha256:c181fc09c2a133b6… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.