{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-134313","published":"2026-11-21T17:16:52.017000Z","last_modified":"2026-11-23T16:17:31.260000Z","status":"Received","cvss":{"version":"4.0","score":7.6,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-362"],"cpes":[],"cpes_truncated":false,"vendors":["better-auth"],"products":["better-auth/kysely-adapter"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2026-134313/","html_en":"/en/cve/CVE-2026-134313/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134313","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134313"},"untrusted":{"vendor_name":"better-auth","product_name":"kysely-adapter","desc_en":"Better Auth (better-auth, @better-auth/kysely-adapter, and @better-auth/drizzle-adapter) before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a race condition with MySQL or MariaDB serial IDs because the inserted row's ID is read via a separate LAST_INSERT_ID() query that may run on a different pooled connection. Under concurrent load, a user signing in can receive another user's session and act as that user.","affected":[{"untrusted_vendor":"better-auth","untrusted_product":"kysely-adapter"},{"untrusted_vendor":"better-auth","untrusted_product":"drizzle-adapter"},{"untrusted_vendor":"better-auth","untrusted_product":"better-auth"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-48c2-w96j-mv3m","tags":[]},{"url":"https://www.vulncheck.com/advisories/better-auth-before-1.7.16-and-1.8.0-beta.0-before-1.8.0-beta.5-session-mix-up-via-mysql-serial-ids","tags":[]}]}}