Incorrect Behavior Order: Validate Before Canonicalize Affecting vite package, versions <8.0.11-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
5.15% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-VITE-16534968
  • published8 May 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

CVE-2026-39364  (opens in a new tab)
CWE-180  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Chainguard vite to version 8.0.11-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vite package and not the vite package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1