THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-p458-7748-mcp3 (medium) — Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file

[GHSA] GHSA-p458-7748-mcp3 (medium) — Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file

medgithub_advisoriesPublished 2026-10-21

GHSA-p458-7748-mcp3 Severity: medium CVE: CVE-2026-112948

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

### Summary

In Vitest 5, Vite's `server.fs.deny` is not applied as intended on Vitest's dev servers. Depending on the server, files that Vite refuses to serve by default (such as `.env`, private keys and certificates, `.npmrc`, and `.g

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-p458-7748-mcp3