{"id":"CVE-2026-112948","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-112948","generatedAt":"2026-10-28T05:28:16.988Z","title":"An attacker who can reach an affected UI, Browser Mode, or API server can read denied project files or the fallback API token at node_modules/.vitest/.vitest-secret-token, and Browser Mode with test.projects can expose JavaScript-compatible .env values…","description":"Vitest is a testing framework powered by Vite. From 5.0.0-beta.6 until 5.0.5, Vitest dev servers can misapply server.fs.deny because project servers replace Vite's defaults and the root server adds .vitest-secret-token after Vite compiles its matcher. An attacker who can reach an affected UI, Browser Mode, or API server can read denied project files or the fallback API token at node_modules/.vitest/.vitest-secret-token, and Browser Mode with test.projects can expose JavaScript-compatible .env values through a malicious website. This issue is fixed in version 5.0.5.","published":"2026-10-20T16:17:06.000Z","lastModified":"2026-10-20T19:56:46.000Z","status":"Awaiting Analysis","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},"cwe":["CWE-200","CWE-552"],"affected":[],"epss":{"score":0.004,"percentile":0.3412,"date":"2026-10-27","history":[{"date":"2026-10-21","score":0.00406,"percentile":0.33697}]},"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.40%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-20T16:17:06.000Z","detail":{"score":"6.5","severity":"MEDIUM","publishedAt":"2026-10-20T16:17:05.517Z"},"summary":"New CVE, medium severity (CVSS 6.5)."}],"references":[{"url":"https://github.com/vitest-dev/vitest/commit/28dc1edfb6ba5a181fe208576989063795aeadb3","source":"security-advisories@github.com"},{"url":"https://github.com/vitest-dev/vitest/pull/11578","source":"security-advisories@github.com"},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.5","source":"security-advisories@github.com"},{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-p458-7748-mcp3","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-112948","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."}