{"id":"GHSA-44jh-23m7-hpcf","revision":null,"records":[{"revision":"bfbffed04215413590b609a04d79b6a5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110861","aliases":[],"title":"Better Auth drizzle-adapter 1.6.17 before 1.7.7 Rate Limit Bypass via Race Condition","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.","state":0,"publishedAt":"2026-10-14T22:52:45.713+00:00","modifiedAt":"2026-10-20T02:26:30.363+00:00","affected":[{"ecosystem":"Vendor product","name":"drizzle-adapter","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"better-auth\",\n                    \"product\": \"drizzle-adapter\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/%40better-auth/drizzle-adapter\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.6.17\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.7.7\"\n                        },\n                        {\n                            \"version\": \"1.7.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"kysely-adapter","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"better-auth\",\n                    \"product\": \"kysely-adapter\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/%40better-auth/kysely-adapter\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.6.17\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.7.0\"\n                        },\n                        {\n                            \"version\": \"1.7.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"better-auth","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"better-auth\",\n                    \"product\": \"better-auth\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/better-auth\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.6.17\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.7.7\"\n                        },\n                        {\n                            \"version\": \"1.7.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"severity":"LOW"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf","https://www.vulncheck.com/advisories/better-auth-drizzle-adapter-1.6.17-before-1.7.7-rate-limit-bypass-via-race-condition"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110861","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110861","identifiers":["CVE-2026-110861"]},"retained":false,"historicalAffected":[]},{"revision":"d9f269854a4e4c65ad3073fa602785bd","observedAt":"2026-10-30T01:56:01.334+00:00","statement":{"source":"euvd","id":"EUVD-2026-101744","aliases":["CVE-2026-110861","GHSA-wrjq-vqr4-qw7r"],"title":"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 no…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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","score":6.3,"severity":null}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf","https://www.vulncheck.com/advisories/better-auth-drizzle-adapter-1.6.17-before-1.7.7-rate-limit-bypass-via-race-condition"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101744","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 14, 2026, 10:52:45 PM","dateUpdated":"Oct 20, 2026, 2:26:30 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-101744","identifiers":["EUVD-2026-101744","CVE-2026-110861","GHSA-wrjq-vqr4-qw7r"]},"retained":false,"historicalAffected":[]},{"revision":"1d66b316358c4a389bae5a95e8d2623b","observedAt":"2026-10-27T16:45:50.731+00:00","statement":{"source":"nvd","id":"CVE-2026-110861","aliases":[],"title":"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 no…","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.","state":0,"publishedAt":"2026-10-14T23:17:27.49+00:00","modifiedAt":"2026-10-20T03:17:14.297+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","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/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","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"severity":"LOW"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf","https://www.vulncheck.com/advisories/better-auth-drizzle-adapter-1.6.17-before-1.7.7-rate-limit-bypass-via-race-condition"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-110861","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-307"],"productCriteria":[],"sourceDates":{"published":"2026-10-14T23:17:27.490","lastModified":"2026-10-20T03:17:14.297"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-110861","identifiers":["CVE-2026-110861"]},"retained":false,"historicalAffected":[]},{"revision":"a0ee44b896984c6ebbdac92d8b86acf0","observedAt":"2026-10-27T16:44:03.037+00:00","statement":{"source":"osv","id":"GHSA-44jh-23m7-hpcf","aliases":["CVE-2026-110861"],"title":"@better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL","description":"## Am I affected?\n\nYou are affected if you use `@better-auth/drizzle-adapter` from 1.6.17 through versions before 1.7.7 (including the 1.7.0 prereleases from beta.6 through rc.6) or `@better-auth/kysely-adapter` 1.6.17 through 1.6.31, and keep rate-limit records in a PostgreSQL database.\n\nAll of these must be true:\n\n- Rate limiting is enabled.\n- Rate-limit records are stored in the database.\n- The database is PostgreSQL, used through one of the adapter versions above.\n\nYou are not affected if you store rate-limit records in memory (the default) or in secondary storage.\n\n## Summary\n\nDatabase-backed rate limiting on PostgreSQL can let a burst of concurrent requests go over the configured maximum. When many requests arrive at the same time, several of them can pass the limit check together. This weakens the rate limit on password sign-in, two-factor verification, one-time codes, password resets, and other rate-limited endpoints.\n\n## Impact\n\nAn attacker who sends many requests at once can make more attempts than the application allows.\n\nThe issue does not bypass password or one-time-code validation. It does not directly compromise an account. The number of extra attempts is limited by the number of concurrent database connections, the number of application instances, and the rate-limit window.\n\n## Patches\n\n`@better-auth/kysely-adapter` is fixed in 1.7.0. Upgrade to 1.7.0 or later.\n\nThe Drizzle fix is merged for the planned `@better-auth/drizzle-adapter` 1.7.7 release. That package is not available yet. Upgrade `better-auth` and the installed Drizzle adapter together when 1.7.7 is available. No database schema or public API migration is required.\n\n## Workarounds\n\n- Store rate-limit records in secondary storage.\n- Use a custom rate-limit storage that checks and increments the counter in one atomic step. An atomic step cannot be interrupted by another request.\n- Enforce the intended limit at an upstream layer, such as a reverse proxy or gateway.\n\nIn-memory storage also avoids this issue. However, each application instance keeps its own counter, so it may not enforce one shared limit in multi-instance or serverless deployments.","state":0,"publishedAt":"2026-10-27T15:32:25+00:00","modifiedAt":"2026-10-27T15:47:24.1328356+00:00","affected":[{"ecosystem":"npm","name":"@better-auth/drizzle-adapter","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.6.17"},{"kind":"fixed","version":"1.7.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@better-auth/kysely-adapter","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.6.17"},{"kind":"fixed","version":"1.7.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"better-auth","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.6.17"},{"kind":"fixed","version":"1.7.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-44jh-23m7-hpcf","https://github.com/better-auth/better-auth/pull/11331","https://github.com/better-auth/better-auth/commit/35d7cd389220f99cfc98ac699e6a42b48313a740","https://github.com/better-auth/better-auth","https://github.com/better-auth/better-auth/releases/tag/v1.7.7"],"sourceUrl":"https://github.com/advisories/GHSA-44jh-23m7-hpcf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-44jh-23m7-hpcf","identifiers":["GHSA-44jh-23m7-hpcf","CVE-2026-110861"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-30T14:45:26.6987549+00:00","complete":true,"records":1764,"lastAttemptAt":"2026-10-30T14:45:26.6987549+00:00","lastSuccessAt":"2026-10-30T14:45:26.9497648+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.9497653+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7e2c4e7288f2c464ad8c61f3bb6017374714faedcc781283ac06a706ee1a820b-9ae73af7991357f8171c14345365990a8a2ca2ac30d2f5c0345295ca47cd8b59","complete":true,"records":417062,"lastAttemptAt":"2026-10-30T14:45:26.2761545+00:00","lastSuccessAt":"2026-10-30T13:45:42.363036+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.2761545+00:00","snapshotPublishedAt":"2026-10-30T13:19:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2061c7564831481480eca7336a6a2d59","complete":false,"records":13525,"lastAttemptAt":"2026-10-30T14:57:22.1548673+00:00","lastSuccessAt":"2026-10-30T14:57:22.151+00:00","error":"74 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-10-30T14:57:22.151+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":12100,"expectedIdentifiers":13603,"failedIdentifiers":74},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-30T14:45:26.6987549+00:00","complete":true,"records":1094,"lastAttemptAt":"2026-10-30T14:45:26.6987549+00:00","lastSuccessAt":"2026-10-30T14:45:26.9516817+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.951682+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6a13c6f8f39a448a8b96c895e97b0fc8","complete":true,"records":13543,"lastAttemptAt":"2026-10-30T14:45:34.6994115+00:00","lastSuccessAt":"2026-10-30T14:45:34.696+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:34.696+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13603,"expectedIdentifiers":13603,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-b597efeb8fc540d31a792e2148f8b153f027cb0902f6eec1f988f717bba80dd6","complete":true,"records":9806,"lastAttemptAt":"2026-10-30T14:45:26.6211704+00:00","lastSuccessAt":"2026-10-30T11:49:32.1566+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.6211704+00:00","snapshotPublishedAt":"2026-10-30T11:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-10-30T14:45:26.3367706+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.3367706+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-f63fa91e750071ae88c9f82019ecd6c982fa4fcc1d3dc5ceb5d9c642fb6bf05c","complete":true,"records":3023,"lastAttemptAt":"2026-10-30T14:45:26.6363468+00:00","lastSuccessAt":"2026-10-30T11:49:36.4759887+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.6363468+00:00","snapshotPublishedAt":"2026-10-30T11:18:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-38769c8a86ea1c9a6224e5523e119bd23337098bd8f535cc5952f8ec88cdd622","complete":true,"records":230950,"lastAttemptAt":"2026-10-30T14:45:26.5064351+00:00","lastSuccessAt":"2026-10-30T13:47:22.3495471+00:00","error":null,"lastVerifiedAt":"2026-10-30T14:45:26.5064351+00:00","snapshotPublishedAt":"2026-10-30T13:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}