{ "canonical_id": "vite--CVE-2025-58751", "system_id": "vite", "display_name": "Vite", "category": "frameworks", "advisory_mode": "core", "title": "Vite middleware may serve files starting with the same name with the public directory", "summary": "Vite middleware may serve files starting with the same name with the public directory", "published_at": "2025-09-09T20:55:56Z", "updated_at": "2026-02-04T04:33:22.508417Z", "severity": "medium", "cvss_score": null, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/vitejs/vite/security/advisories/GHSA-g4jq-h2w9-997c", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2025-58751", "https://github.com/lukeed/sirv/commit/f0113f3f8266328d804ee808f763a3c11f8997eb", "https://github.com/vitejs/vite/commit/09f2b52e8d5907f26602653caf41b3a56692600d", "https://github.com/vitejs/vite/commit/4f1c35bcbb5830290c694aa14b6789e07450f069", "https://github.com/vitejs/vite/commit/63e2a5d232218f3f8d852056751e609a5367aaec", "https://github.com/vitejs/vite/commit/e11d24008b97d4ca731ecc1a3b95260a6d12e7e0", "https://github.com/vitejs/vite" ], "aliases": [ "CVE-2025-58751", "GHSA-g4jq-h2w9-997c" ], "cve_ids": [ "CVE-2025-58751" ], "ghsa_ids": [ "GHSA-g4jq-h2w9-997c" ], "osv_ids": [], "affected_versions": [ "introduced=7.1.0, fixed<7.1.5", "introduced=7.0.0, fixed<7.0.7", "introduced=6.0.0, fixed<6.3.6", "introduced=0, fixed<5.4.20" ], "fixed_versions": [ "7.1.5", "7.0.7", "6.3.6", "5.4.20" ], "package_name": "vite", "render_markdown": true, "case_path": "07-framework-security/frameworks/vite/cases/vite-cve-2025-58751.md", "secure_code_topics": [ "dependency-upgrade-policy", "file-upload-validation", "proxy-trust-boundary" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": "", "evidence_bundle": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "vite-file-upload", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [], "source_kinds": [], "candidate_count": 1 } }