{"id":"CVE-2026-110008","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-110008","generatedAt":"2026-10-28T01:12:19.116Z","title":"A state value an attacker learns stays valid for the rest of the browser session, letting the attacker drive their own authorization flow in the victim's browser and sign the victim in to the attacker's account (login CSRF).","description":"@fastify/oauth2 is a Fastify wrapper for OAuth2 login flows. In versions 7.2.0 through 8.3.1, the state and code-verifier cookies are set without a Path attribute at a login route with two or more path segments, while the clearing step at the OAuth callback writes them with a root path, so the original cookies survive the callback and the documented single-use guarantee for the state value does not hold. A state value an attacker learns stays valid for the rest of the browser session, letting the attacker drive their own authorization flow in the victim's browser and sign the victim in to the attacker's account (login CSRF). The issue is fixed in @fastify/oauth2 8.3.2, and users should upgrade to 8.3.2 or later. As a workaround, set an explicit cookie path so the set and the clear name the same cookie.","published":"2026-10-19T14:16:58.000Z","lastModified":"2026-10-19T21:13:40.000Z","status":"Awaiting Analysis","sourceIdentifier":"ce714d77-add3-4f53-aff5-83d477b104bb","cvss":{"version":"3.1","score":4.2,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"},"cwe":["CWE-352","CWE-459","CWE-613"],"affected":[],"epss":{"score":0.00096,"percentile":0.00657,"date":"2026-10-26","history":[{"date":"2026-10-20","score":0.00096,"percentile":0.00641}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.10%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-19T14:16:58.000Z","detail":{"score":"4.2","severity":"MEDIUM","publishedAt":"2026-10-19T14:16:57.527Z"},"summary":"New CVE, medium severity (CVSS 4.2)."}],"references":[{"url":"https://cna.openjsf.org/security-advisories.html","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://github.com/fastify/fastify-oauth2/security/advisories/GHSA-7fcr-mwg4-pw9q","source":"ce714d77-add3-4f53-aff5-83d477b104bb"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-110008","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}