Skip to content
OpenAdvisories
High · 8.2 Scanner template CVE-2026-39364 EUVD-2026-19873GHSA-v2wj-q39q-566r

Vite has a `server.fs.deny` bypass with queries

Published Apr 7, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

Description

Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.

Affected products

VendorProductAffectedFixed
vitejs vite >= 8.0.0, < 8.0.5, >= 7.1.0, < 7.3.2 —
vitejs vite-plus < 0.1.16 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling vite 8.0.11-r0 —
Wolfi rolling vitess-23 23.0.3-r11 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm vite >= 8.0.0, < 8.0.5 8.0.5 GHSA-v2wj-q39q-566r
npm vite >= 7.1.0, < 7.3.2 7.3.2 GHSA-v2wj-q39q-566r

References