Skip to content
Connect AISign inSign up free
CVE-2026-1129486.5MediumCWE-200

CVE-2026-112948: Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file

vitest-dev · vitest

Affected: vitest-dev · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.4%probability of exploitation in the next 30 days
34th percentile
050100

Higher than 34% of scored CVEs

6.5MediumCVSS 3.1
LowMedium

DescriptionCVE.org

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.

Affected products4

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • vitest-dev · vitest>= 5.0.0-beta.6, < 5.0.5
  • @vitest · browser>= 5.0.0-beta.6, < 5.0.5
  • @vitest · ui>= 5.0.0-beta.6, < 5.0.5
  • vitejs · vite-plus>= 1.0.0-rc.0, < 1.3.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Published
October 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-112948 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References