Security mailing lists by PureSourceCode

CVE-2026-47429

MEDIUM 5.9CVSS 3.1

When Vitest UI server is listening, arbitrary file can be read and executed

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.

Published
14 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-862
Also known as
GHSA-5xrq-8626-4rwp
Sources
NVDJSONOSV GHSA-5xrq-8626-4rwpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vitest.dev vitest
cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*
< 3.2.5 3.2.5
NVD vitest.dev vitest
cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.1.0 4.1.0
OSV npm vitest >= 4.0.0, < 4.1.0 4.1.0
OSV npm vitest < 3.2.6 3.2.6

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 14 Jul 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.