Is vite 7.0 vulnerable?

npm · 9 releases from 7.0.0 to 7.0.8 · latest vite is 8.3.5 · checked 1 Nov 2026

Yes: 9 known advisories

Yes. vite 7.0.8, the last 7.0 release, is affected by 9 known security advisories (2 high, 6 medium, 1 low), including CVE-2026-112942, CVE-2026-39363, CVE-2026-112946. 3 more affect earlier 7.0.x releases. Upgrade to 7.3.7 or later to fix all of them.

Upgrade with:npm install vite@7.3.7

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting vite 7.0.8

  • LowCVE-2026-112945GHSA-9jrq-w75r-8gcw21 Oct 2026

    Vite: Cross origin script execution through Vite custom middleware

    Affected
    >=8.3.0 <8.3.3 · >=8.2.0 <8.2.4 · >=8.0.0 <8.1.6 · >=7.0.0 <7.3.7 · <6.4.4
    Fixed in
    6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • MediumCVE-2026-112946GHSA-rq7h-c2jc-7f2221 Oct 2026

    Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine

    Affected
    >=8.3.0 <8.3.3 · >=8.2.0 <8.2.4 · >=8.0.0 <8.1.6 · >=7.0.0 <7.3.7 · <6.4.4
    Fixed in
    6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • MediumCVE-2026-112944GHSA-r825-w8mm-5pxw20 Oct 2026

    launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors

    Affected
    >=8.3.0 <8.3.3 · >=8.2.0 <8.2.4 · >=8.0.0 <8.1.6 · >=7.0.0 <7.3.7 · <6.4.4
    Fixed in
    6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • HighCVE-2026-112942GHSA-587h-7wmj-h5pm20 Oct 2026

    launch-editor: `fs.existsSync()` existence check can be bypassed on Windows

    Affected
    >=8.3.0 <8.3.3 · >=8.2.0 <8.2.4 · >=8.0.0 <8.1.6 · >=7.0.0 <7.3.7 · <6.4.4
    Fixed in
    6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • MediumCVE-2026-112943GHSA-698v-4r3x-3vcv20 Oct 2026

    launch-editor: escapeCmdArgs() omits % escaping on Windows

    Affected
    >=8.3.0 <8.3.3 · >=8.2.0 <8.2.4 · >=8.0.0 <8.1.6 · >=7.0.0 <7.3.7 · <6.4.4
    Fixed in
    6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • MediumCVE-2026-53632GHSA-v6wh-96g9-6wx315 Jun 2026

    launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows

    Affected
    >=8.0.0 <8.0.16 · >=7.0.0 <7.3.5 · <6.4.3
    Fixed in
    6.4.3, 7.3.5, 8.0.16
  • MediumCVE-2026-53571GHSA-fx2h-pf6j-xcff15 Jun 2026

    vite: `server.fs.deny` bypass on Windows alternate paths

    Affected
    >=8.0.0 <8.0.16 · >=7.0.0 <7.3.5 · <6.4.3
    Fixed in
    6.4.3, 7.3.5, 8.0.16
  • MediumCVE-2026-39365GHSA-4w7w-66w2-5vf96 Apr 2026

    Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling

    Affected
    >=8.0.0 <8.0.5 · >=7.0.0 <7.3.2 · <6.4.2
    Fixed in
    6.4.2, 7.3.2, 8.0.5
  • HighCVE-2026-39363GHSA-p9ff-h696-f5836 Apr 2026

    Vite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocket

    Affected
    >=8.0.0 <8.0.5 · >=7.0.0 <7.3.2 · >=6.0.0 <6.4.2
    Fixed in
    6.4.2, 7.3.2, 8.0.5

Fixed within 7.0.x, affecting earlier releases

  • MediumCVE-2025-62522GHSA-93m4-6634-74q720 Oct 2025

    vite allows server.fs.deny bypass via backslash on Windows

    Affected
    >=7.1.0 <7.1.11 · >=7.0.0 <7.0.8 · >=6.0.0 <6.4.1 · >=2.9.18 <5.4.21 · >=3.2.9 <5.4.21 · >=4.5.3 <5.4.21 · >=5.2.6 <5.4.21
    Fixed in
    5.4.21, 6.4.1, 7.0.8, 7.1.11
  • LowCVE-2025-58751GHSA-g4jq-h2w9-997c9 Sept 2025

    Vite middleware may serve files starting with the same name with the public directory

    Affected
    >=7.1.0 <7.1.5 · >=7.0.0 <7.0.7 · >=6.0.0 <6.3.6 · <5.4.20
    Fixed in
    5.4.20, 6.3.6, 7.0.7, 7.1.5
  • LowCVE-2025-58752GHSA-jqfw-vq24-v9c39 Sept 2025

    Vite's `server.fs` settings were not applied to HTML files

    Affected
    >=7.1.0 <7.1.5 · >=7.0.0 <7.0.7 · >=6.0.0 <6.3.6 · <5.4.20
    Fixed in
    5.4.20, 6.3.6, 7.0.7, 7.1.5

Which of your client projects are still on vite 7.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact vite version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other vite versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.