Skip to main content
VulnerabilityPublished Updated

CVE-2025-30208: Vite bypasses server.fs.deny when using ?raw??

Affects viteSource GCVE Database

0
Compare

Exposed hosts seen by OffSeq Mirage · public exploit available (Exploit-DB) · 74% EPSS · CVSS 5.3 Medium : upgrade to 6.2.3 as a priority.

Data as of 13 Nov 2026, 23:53 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
74.7% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.2.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  3. Observed by OffSeq Mirage: evidence found.

    3 exposed hosts found; no attack traffic recorded

Timeline

  1. First Exploit-DB entry (opens in a new tab)

    Vite 6.2.2 - Arbitrary File Read

    , 1.4 years before disclosure

  2. CVE published

    on cve.org

    , t = 0

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), OffSeq Mirage (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade vite to 6.2.3.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=2.5.1 <6.2.3
Fixed in
  • 6.2.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for this vulnerability. Users should upgrade Vite to version 6.2.3 or later to remediate the issue. Until patched, avoid exposing the Vite dev server to the network (do not use --host or server.host to bind to external interfaces).

Description

A vulnerability in Vite allows bypassing the server.fs.deny restriction when using the ?raw?? or ?import&raw?? query parameters, enabling access to arbitrary file contents. This affects Vite dev servers explicitly exposed to the network via the --host option or server.host configuration. The issue arises because trailing separators in the query string are removed inconsistently, allowing unauthorized file reads outside the allowed serving paths. A proof of concept demonstrates reading sensitive files such as /tmp/secret.txt. The vulnerability affects Vite versions from 2.5.1 up to but not including 6.2.3. A patch is available to address this issue. The CVSS score is 5.3 (medium severity).

References

Community reviews

Loading reviews…