{"answers":{"affected":"2 open source packages ship an affected version, including better-auth.","exploited":"There is no known exploitation of CVE-2026-109346 in the wild and no public exploit code.","fix":"Upgrade better-auth to 1.7.0-rc.3 or later.","what":"CVE-2026-109346 is a high-severity vulnerability in better-auth, published on 12 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-109346 and fix it if it is affected.\n\nWhat it is: CVE-2026-109346 is a high-severity vulnerability in better-auth, published on 12 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-109346 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- better-auth (npm): affected from 1.3.8-beta.3; fixed in 1.7.0-rc.3\n- better-auth (npm): affected from 1.3.8-beta.3; fixed in 1.7.0-rc.3\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-109346/ (Markdown: https://insights.sbomify.com/CVE-2026-109346/index.md)","id":"CVE-2026-109346","markdown":"https://insights.sbomify.com/CVE-2026-109346/index.md","name":"CVE-2026-109346","record":{"aliases":["GHSA-q84f-53jg-9ppm","GHSA-v9c8-wq66-wf8g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Authentication library","requires_auth":"none","summary":"Attackers can trick users into approving device authorization requests to steal session tokens due to missing client identification in the UI.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-451","name":"User Interface (UI) Misrepresentation of Critical Information"}],"description":"better-auth from 1.3.8-beta.3 before 1.7.0-rc.3 contains a UI misrepresentation vulnerability in the deviceAuthorization plugin because GET /device omits the requesting client_id and scope. Attackers can start a device request via /device/code, trick signed-in users into approving the code, then redeem it at /device/token for a live session token.","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 1.3.8-beta.3 before 1.7.0-rc.3 Device Authorization Phishing via /device","id":"CVE-2026-109346","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Adminer before 6.1.1 RCE via UTF-8 BOM SQLite ATTACH Bypass","id":"CVE-2026-109347"},"packages":[{"ecosystem":"npm","fixed":["1.7.0-rc.3"],"introduced":["1.3.8-beta.3"],"last_affected":[],"package":"better-auth","purl":null,"source":"GHSA-q84f-53jg-9ppm"},{"ecosystem":"npm","fixed":["1.7.0-rc.3"],"introduced":["1.3.8-beta.3"],"last_affected":[],"package":"better-auth","purl":"pkg:npm/better-auth","source":"GHSA-q84f-53jg-9ppm"}],"prev":{"headline":"DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root","id":"CVE-2026-109345"},"products":["better-auth"],"published":"2026-10-12","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":"total"},"state":"PUBLISHED","updated":"2026-10-26","vendors":["better-auth"]},"summary":"Attackers can trick users into approving device authorization requests to steal session tokens due to missing client identification in the UI.","url":"https://insights.sbomify.com/CVE-2026-109346/"}