{"id":"EUVD-2026-51837","revision":null,"records":[{"revision":"abbb95bf60b7403399363785f485c37a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-67337","aliases":[],"title":"better-auth before 1.4.9 Two-Factor Authentication Bypass via session.cookieCache","description":"better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verification by exploiting premature session caching.","state":0,"publishedAt":"2026-08-01T12:22:18.034+00:00","modifiedAt":"2026-08-03T18:31:13.051+00:00","affected":[{"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\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.4.9\"\n                        },\n                        {\n                            \"version\": \"1.4.9\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-xg6x-h9c9-2m83","https://www.vulncheck.com/advisories/better-auth-before-two-factor-authentication-bypass-via-session-cookiecache"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-67337","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-67337","identifiers":["CVE-2026-67337"]},"retained":false,"historicalAffected":[]},{"revision":"f8fa6d4eb3c449278bc241a45707b866","observedAt":"2026-11-17T18:31:04.325+00:00","statement":{"source":"euvd","id":"EUVD-2026-51837","aliases":["CVE-2026-67337","GHSA-8pwm-pjg9-4h92"],"title":"better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verifi…","description":"better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verification by exploiting premature session caching.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"severity":null}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-xg6x-h9c9-2m83","https://www.vulncheck.com/advisories/better-auth-before-two-factor-authentication-bypass-via-session-cookiecache"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-51837","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 1, 2026, 12:22:18 PM","dateUpdated":"Aug 3, 2026, 6:31:13 PM"},"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-51837","identifiers":["EUVD-2026-51837","CVE-2026-67337","GHSA-8pwm-pjg9-4h92"]},"retained":false,"historicalAffected":[]},{"revision":"400ec910a5d547e996fe19e27f205166","observedAt":"2026-10-25T15:18:51.467+00:00","statement":{"source":"nvd","id":"CVE-2026-67337","aliases":[],"title":"better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verifi…","description":"better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verification by exploiting premature session caching.","state":0,"publishedAt":"2026-08-01T13:17:04.693+00:00","modifiedAt":"2026-09-08T20:34:34.997+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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":7.1,"severity":"HIGH"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-xg6x-h9c9-2m83","https://www.vulncheck.com/advisories/better-auth-before-two-factor-authentication-bypass-via-session-cookiecache"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-67337","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-288"],"productCriteria":[],"sourceDates":{"published":"2026-08-01T13:17:04.693","lastModified":"2026-09-08T20:34:34.997"},"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-67337","identifiers":["CVE-2026-67337"]},"retained":false,"historicalAffected":[]},{"revision":"f5c707e12e5943018dfc7979b7a6ffa8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-xg6x-h9c9-2m83","aliases":["CVE-2026-67337"],"title":"Better Auth Has Two-Factor Authentication Bypass via Premature Session Caching (session.cookieCache)","description":"### Summary\n\nUnder certain configurations, sessions may be considered valid before two-factor authentication (2FA) is fully completed. This can allow access to authenticated routes without verifying the second factor.\n\n---\n\n### Description\n\nWhen two-factor authentication is enabled, the authentication flow correctly identifies users who require additional verification and defers full authentication until the second factor is completed.\n\nHowever, when `session.cookieCache` is enabled, the session generated during the initial sign-in step may be cached as valid **prior to 2FA verification**. Subsequent session lookups may then return this cached session without re-evaluating the 2FA requirement.\n\nThis results in a situation where session validity can be established before all authentication constraints are satisfied.\n\n---\n\n### Impact\n\nAn attacker (or user) with valid primary credentials may gain access to protected application routes without completing the required second authentication factor.\n\nAny application using `better-auth` with both two-factor authentication and session cookie caching enabled may be affected.\n\n---\n\n### Mitigation\n\n* Upgrade to a version of `better-auth` that includes the fix for this issue.\n* Ensure that session caching does not treat sessions as fully authenticated until all required authentication steps, including 2FA, are completed.\n* As a temporary workaround, disable `session.cookieCache` when using two-factor authentication.","state":0,"publishedAt":"2026-04-03T03:29:59+00:00","modifiedAt":"2026-08-02T03:56:49.020546+00:00","affected":[{"ecosystem":"npm","name":"better-auth","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/better-auth/better-auth/security/advisories/GHSA-xg6x-h9c9-2m83","https://github.com/better-auth/better-auth"],"sourceUrl":"https://github.com/advisories/GHSA-xg6x-h9c9-2m83","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xg6x-h9c9-2m83","identifiers":["GHSA-xg6x-h9c9-2m83","CVE-2026-67337"]},"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-11-19T09:40:31.8345493+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T09:40:31.8345493+00:00","lastSuccessAt":"2026-11-19T09:40:32.3515264+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:32.3515283+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-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-9e2db0084925c841be762919585cd511a893087e7961941f7ebd76ab552c4302","complete":true,"records":428265,"lastAttemptAt":"2026-11-19T09:40:24.3145117+00:00","lastSuccessAt":"2026-11-19T09:40:24.1463366+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:24.3145117+00:00","snapshotPublishedAt":"2026-11-19T09:30: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-6e19c69ebb974886991d5dad9f632f81","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T09:50:13.3657605+00:00","lastSuccessAt":"2026-11-19T09:50:12.338+00:00","error":"272 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T09:50:12.338+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13636,"expectedIdentifiers":13908,"failedIdentifiers":272},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T09:40:31.8345493+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T09:40:31.8345493+00:00","lastSuccessAt":"2026-11-19T09:40:32.3815873+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:32.3815895+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-8b5fdf678977402cb60bbe3c5e89bf16","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T09:40:33.0523055+00:00","lastSuccessAt":"2026-11-19T09:22:49.229+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:22:49.229+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"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-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T09:40:25.2441782+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:25.2441782+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+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-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T09:40:24.3875329+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:24.3875329+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+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-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T09:40:31.7231448+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:31.7231448+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+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-151b9ac741fba7353ad731a68476d546237cc5b2becb54fa011ca91249746bea","complete":true,"records":232733,"lastAttemptAt":"2026-11-19T09:40:24.5744302+00:00","lastSuccessAt":"2026-11-19T08:24:21.1829126+00:00","error":null,"lastVerifiedAt":"2026-11-19T09:40:24.5744302+00:00","snapshotPublishedAt":"2026-11-19T07:32:56+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}