{"answers":{"affected":"6 open source packages ship an affected version, including @better-auth/drizzle-adapter, @better-auth/kysely-adapter and better-auth.","exploited":"There is no known exploitation of CVE-2026-110861 in the wild and no public exploit code.","fix":"Upgrade @better-auth/drizzle-adapter to 1.7.7 or later.","what":"CVE-2026-110861 is a medium-severity vulnerability in better-auth, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-110861 and fix it if it is affected.\n\nWhat it is: CVE-2026-110861 is a medium-severity vulnerability in better-auth, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-110861 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @better-auth/drizzle-adapter (npm): affected from 1.6.17; fixed in 1.7.7\n- @better-auth/drizzle-adapter (npm): affected from 1.6.17; fixed in 1.7.7\n- @better-auth/kysely-adapter (npm): affected from 1.6.17; fixed in 1.7.0\n- @better-auth/kysely-adapter (npm): affected from 1.6.17; fixed in 1.7.0\n- better-auth (npm): affected from 1.6.17; fixed in 1.7.7\n- better-auth (npm): affected from 1.6.17; fixed in 1.7.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-110861/ (Markdown: https://insights.sbomify.com/CVE-2026-110861/index.md)","id":"CVE-2026-110861","markdown":"https://insights.sbomify.com/CVE-2026-110861/index.md","name":"CVE-2026-110861","record":{"aliases":["GHSA-44jh-23m7-hpcf","GHSA-wrjq-vqr4-qw7r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Better Auth adapter","requires_auth":"none","summary":"Remote attackers can bypass rate limits on authentication endpoints by exploiting a race condition in database-backed rate limiting.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"}],"description":"Better Auth @better-auth/drizzle-adapter and better-auth from 1.6.17 before 1.7.7, and @better-auth/kysely-adapter from 1.6.17 before 1.7.0, contain a race condition in database-backed rate limiting on PostgreSQL where the limit check is not atomic with the counter update. Remote attackers can send bursts of concurrent requests that pass the check together, exceeding configured limits on password sign-in, two-factor verification, one-time code, password reset, and other rate-limited endpoints.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Better Auth drizzle-adapter 1.6.17 before 1.7.7 Rate Limit Bypass via Race Condition","id":"CVE-2026-110861","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":6,"n_references":2,"next":{"headline":"Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link","id":"CVE-2026-110862"},"packages":[{"ecosystem":"npm","fixed":["1.7.7"],"introduced":["1.6.17"],"last_affected":[],"package":"@better-auth/drizzle-adapter","purl":null,"source":"GHSA-44jh-23m7-hpcf"},{"ecosystem":"npm","fixed":["1.7.7"],"introduced":["1.6.17"],"last_affected":[],"package":"@better-auth/drizzle-adapter","purl":"pkg:npm/%40better-auth/drizzle-adapter","source":"GHSA-44jh-23m7-hpcf"},{"ecosystem":"npm","fixed":["1.7.0"],"introduced":["1.6.17"],"last_affected":[],"package":"@better-auth/kysely-adapter","purl":null,"source":"GHSA-44jh-23m7-hpcf"},{"ecosystem":"npm","fixed":["1.7.0"],"introduced":["1.6.17"],"last_affected":[],"package":"@better-auth/kysely-adapter","purl":"pkg:npm/%40better-auth/kysely-adapter","source":"GHSA-44jh-23m7-hpcf"},{"ecosystem":"npm","fixed":["1.7.7"],"introduced":["1.6.17"],"last_affected":[],"package":"better-auth","purl":null,"source":"GHSA-44jh-23m7-hpcf"},{"ecosystem":"npm","fixed":["1.7.7"],"introduced":["1.6.17"],"last_affected":[],"package":"better-auth","purl":"pkg:npm/better-auth","source":"GHSA-44jh-23m7-hpcf"}],"prev":{"headline":"GitPython 3.1.62 before 3.2.0 Symlink Path Traversal via Submodule.move()","id":"CVE-2026-110860"},"products":["better-auth","drizzle-adapter","kysely-adapter"],"published":"2026-10-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-20","vendors":["better-auth"]},"summary":"Remote attackers can bypass rate limits on authentication endpoints by exploiting a race condition in database-backed rate limiting.","url":"https://insights.sbomify.com/CVE-2026-110861/"}