CVE-2025-57753: sapphi-red vite-plugin-static-copy · Path Traversal
Affects sapphi-red vite-plugin-static-copySource CVE Database V5
Not known to be exploited · CVSS 6.0 Medium · fixed in 2.3.2 : update sapphi-red vite-plugin-static-copy when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
AI-suggested
- Upgrade vite-plugin-static-copy to versions 2.3.2 or 3.1.2 or later, where the vulnerability is fixed.
- Review and restrict access to development and build servers, ensuring they are not exposed to untrusted networks or users.
- Implement strict input validation and sanitization for any requests or inputs that interact with file paths in development tools.
- Use containerization or isolated environments for development to limit the impact of potential file access vulnerabilities.
- Audit build and deployment pipelines to ensure no sensitive files are inadvertently exposed or included in publicly accessible directories.
- Educate developers about the risks of path traversal and the importance of using updated dependencies.
- Monitor network traffic and logs for unusual or crafted requests targeting development servers or build tools.
- Consider implementing web application firewalls (WAF) or runtime application self-protection (RASP) solutions that can detect and block path traversal attempts.
Description
vite-plugin-static-copy is rollup-plugin-copy for Vite with dev server support. Files not included in src are accessible with a crafted request. The vulnerability is fixed in 2.3.2 and 3.1.2.