{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53517","id":"CVE-2026-53517","title":"Better Auth OAuth Provider: Refresh Token Rotation Race Condition Allows Concurrent Replay and Token Family Forking","description":"Better Auth is an authentication and authorization library for TypeScript. From 1.4.8-beta.7 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint on the refresh_token grant performs a non-atomic read, validate, revoke, and mint sequence on the oauthRefreshToken row, allowing concurrent requests with the same parent refresh token to pass the revoked check and create forked refr","descriptionLong":"Better Auth is an authentication and authorization library for TypeScript. From 1.4.8-beta.7 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint on the refresh_token grant performs a non-atomic read, validate, revoke, and mint sequence on the oauthRefreshToken row, allowing concurrent requests with the same parent refresh token to pass the revoked check and create forked refresh-token families; the vulnerable range also includes embedded better-auth plugin versions before 1.6.0. This issue is fixed in version 1.6.11.","published":"2026-07-15T17:33:38.943Z","updated":"2026-10-28T02:31:00.742219341Z","reserved":"2026-06-09T17:30:33.456Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["better-auth","@better-auth oauth-provider"],"affectedProducts":[{"vendor":"better-auth","product":"better-auth","defaultStatus":null,"versions":[{"version":">= 1.4.8-beta.7, < 1.6.0","status":"affected"}],"platforms":[]},{"vendor":"@better-auth","product":"oauth-provider","defaultStatus":null,"versions":[{"version":">= 1.6.0, < 1.6.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@better-auth/oauth-provider","purl":"pkg:npm/%40better-auth/oauth-provider","ranges":[">=1.6.0 <1.6.11"],"fixed":["1.6.11"],"advisory":"GHSA-392p-2q2v-4372"},{"ecosystem":"npm","name":"better-auth","purl":"pkg:npm/better-auth","ranges":[">=1.4.8-beta.7 <1.6.0"],"fixed":["1.6.0"],"advisory":"GHSA-392p-2q2v-4372"}],"cwes":["CWE-362","CWE-367","CWE-294","CWE-613"],"aliases":["GHSA-392p-2q2v-4372"],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-392p-2q2v-4372","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/better-auth/better-auth/commit/c6918ecc9e3a75892169415d7f6c95b591b6a52d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53517.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53517","tags":["advisory"]},{"url":"https://github.com/better-auth/better-auth","tags":["package"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00422,"epssPercentile":0.37164,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53517","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53517","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53517","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-392p-2q2v-4372","ok":true,"note":"GHSA-392p-2q2v-4372"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53517","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}