{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47429","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-05-19T19:37:43.527Z","datePublished":"2026-07-14T19:28:08.688Z","dateUpdated":"2026-07-21T15:02:17.187Z"},"containers":{"cna":{"title":"Vitest: Arbitrary file can be read and executed when Vitest UI server is listening","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp"},{"name":"https://github.com/vitest-dev/vitest/pull/10445","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10445"},{"name":"https://github.com/vitest-dev/vitest/pull/9350","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/9350"},{"name":"https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d"},{"name":"https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8"},{"name":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.5","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.5"},{"name":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.0","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.0"}],"affected":[{"vendor":"vitest-dev","product":"vitest","versions":[{"version":"< 3.2.5","status":"affected"},{"version":">= 4.0.0, < 4.1.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-07-14T19:28:08.688Z"},"descriptions":[{"lang":"en","value":"Vitest is a testing framework powered by Vite. Prior to 3.2.5 and 4.1.0, the Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing \\\\?\\\\..\\\\ path traversal to read files outside the project; exposed API write and rerun features such as saveTestFile and rerun could also allow arbitrary script execution. This issue is fixed in versions 3.2.5 and 4.1.0."}],"source":{"advisory":"GHSA-5xrq-8626-4rwp","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-21T15:02:06.439415Z","id":"CVE-2026-47429","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-21T15:02:17.187Z"}}]}}