vite-plugin-static-copy files not included in `src` are accessible with a crafted request
Priority MEDIUM 60CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00422 36th percentileScored 2026-11-07
Fix Partial vite-plugin-static-copy (sapphi-red): 3.1.2, 2.3.2vite-plugin-static-copy (npm): 3.1.2, 2.3.2Red Hat: 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sapphi-red | vite-plugin-static-copy | 3.0.0 to before 3.1.2; 0.4.3 to before 2.3.2 | 3.1.2, 2.3.2 | Patch available | CNA |
| — | vite-plugin-static-copy (npm) | 3.0.0 to before 3.1.2 | 3.1.2 | Patch available | GHSA-pp7p-q8fx-2968 |
| — | vite-plugin-static-copy (npm) | 0.4.3 to before 2.3.2 | 2.3.2 | Patch available | GHSA-pp7p-q8fx-2968 |
- vite-plugin-static-copy Vendorsapphi-red Affected 3.0.0 to before 3.1.2; 0.4.3 to before 2.3.2 Fixed in 3.1.2, 2.3.2 Patch available CNA
- vite-plugin-static-copy (npm) Vendor— Affected 3.0.0 to before 3.1.2 Fixed in 3.1.2 Patch available GHSA-pp7p-q8fx-2968
- vite-plugin-static-copy (npm) Vendor— Affected 0.4.3 to before 2.3.2 Fixed in 2.3.2 Patch available GHSA-pp7p-q8fx-2968
Remediation
- Fix · CNA vite-plugin-static-copy (sapphi-red) Fixed in 3.1.2, 2.3.2
- Fix · GHSA-pp7p-q8fx-2968 vite-plugin-static-copy (npm) Fixed in 3.1.2 Advisory →
- Fix · GHSA-pp7p-q8fx-2968 vite-plugin-static-copy (npm) Fixed in 2.3.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-57753
- 2026-10-03 Alias added: GHSA-pp7p-q8fx-2968
References
Other 6
- https://github.com/sapphi-red/vite-plugin-static-copy/security/advisories/GHSA-pp7p-q8fx-2968
- https://github.com/sapphi-red/vite-plugin-static-copy/commit/0bc6b49ed72b46eecfc9682045f4b46a19694969
- https://github.com/sapphi-red/vite-plugin-static-copy/commit/4627afb8582083eab733881d3d974e1c1f23997d
- https://github.com/sapphi-red/vite-plugin-static-copy
- https://github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%402.3.2
- https://github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%403.1.2
Sources
- CVE-2025-57753 · CVE Program
- CVE-2025-57753 · NVD
- FIRST EPSS
- GHSA-pp7p-q8fx-2968 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-57753 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences