{"schemaVersion":3,"id":"CVE-2025-58751","aliases":["CGA-292x-5hf8-gqg9","CGA-5m4m-26vf-4898","CGA-6r8r-w3p6-qg2w","CGA-9p47-grgp-jj6p","CGA-f5h5-qh37-rc95","CGA-mgpw-5p63-7mp4","CGA-mr37-h7f7-6c3x","CGA-p457-724r-x2qh","CGA-rrx5-rv5f-fx8w","GHSA-g4jq-h2w9-997c","CGA-27c2-28fq-rcgp","CGA-2whg-7924-h55f","CGA-62gm-r7rh-6rp4","CGA-684v-54hh-fx2c","CGA-7jqg-vw6j-9x4m","CGA-7r9r-vhmh-vhfm","CGA-9jw3-p8f2-6h3x","CGA-c8mw-xpgq-6w7r","CGA-cg5h-x27r-rfg4","CGA-f7xf-mgmw-h43f","CGA-ggc5-5hvx-w845","CGA-h9xg-j5w8-8hr5","CGA-jpgg-r3f6-p4xw","CGA-mwq5-8479-4h83","CGA-qjv4-fxvx-g7v3","CGA-w9qv-6fmg-vcc4"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-09-08T22:52:45.667Z","modified":"2025-09-09T13:29:36.802Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01214,"percentile":0.68124,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01214},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01224,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01214,"percentile":0.68124}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01214,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01214,"percentile":0.68124}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_VITEJS_VITE","name":"Vite","source":"github","url":"https://github.com/vitejs/vite/issues/8498","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"chainguard","product":"gitlab-rails-ce-18.1","name":"gitlab-rails-ce-18.1","label":"gitlab-rails-ce-18.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-18.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitlab-rails-ce-fips-18.1","name":"gitlab-rails-ce-fips-18.1","label":"gitlab-rails-ce-fips-18.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-fips-18.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-2-worker","name":"langfuse-2-worker","label":"langfuse-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r26","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3-compat","name":"langfuse-3-compat","label":"langfuse-3-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3-compat","purlType":"apk","versions":[{"text":"< 3.225.7-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.225.7-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3-worker","name":"langfuse-3-worker","label":"langfuse-3-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3-worker","purlType":"apk","versions":[{"text":"< 3.179.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.179.1-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-2-worker","name":"langfuse-fips-2-worker","label":"langfuse-fips-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r28","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r28","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-3-worker","name":"langfuse-fips-3-worker","label":"langfuse-fips-3-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-3-worker","purlType":"apk","versions":[{"text":"< 3.179.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.179.1-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-21","name":"vitess-21","label":"vitess-21","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-21","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-22","name":"vitess-22","label":"vitess-22","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-22","purlType":"apk","versions":[{"text":"< 22.0.1-r7","noFixRecorded":false,"fixedIn":null},{"text":"< 22.0.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 22.0.1-r7 | < 22.0.2-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-23","name":"vitess-23","label":"vitess-23","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-23","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-23-binaries","name":"vitess-23-binaries","label":"vitess-23-binaries","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-23-binaries","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-23-compat","name":"vitess-23-compat","label":"vitess-23-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-23-compat","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3-compat","name":"langfuse-3-compat","label":"langfuse-3-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3-compat","purlType":"apk","versions":[{"text":"< 3.225.7-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.225.7-r6","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3-worker","name":"langfuse-3-worker","label":"langfuse-3-worker","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3-worker","purlType":"apk","versions":[{"text":"< 3.179.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.179.1-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-23","name":"vitess-23","label":"vitess-23","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-23","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-23-binaries","name":"vitess-23-binaries","label":"vitess-23-binaries","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-23-binaries","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-23-compat","name":"vitess-23-compat","label":"vitess-23-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-23-compat","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 7.1.0, < 7.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.3.6","noFixRecorded":false,"fixedIn":null},{"text":"< 5.4.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.1.0, < 7.1.5 | ≥ 7.0.0, < 7.0.7 | ≥ 6.0.0, < 6.3.6 | < 5.4.20","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.4.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.1.0, < 7.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.20 | ≥ 6.0.0, < 6.3.6 | ≥ 7.0.0, < 7.0.7 | ≥ 7.1.0, < 7.1.5","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-g4jq-h2w9-997c","label":"github.com/vitejs/vite/security/advisories/GHSA-g4jq-h2w9-997c","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/lukeed/sirv/commit/f0113f3f8266328d804ee808f763a3c11f8997eb","label":"github.com/lukeed/sirv/commit/f0113f3f8266328d804ee808f763a3c11f8997eb","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/09f2b52e8d5907f26602653caf41b3a56692600d","label":"github.com/vitejs/vite/commit/09f2b52e8d5907f26602653caf41b3a56692600d","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/4f1c35bcbb5830290c694aa14b6789e07450f069","label":"github.com/vitejs/vite/commit/4f1c35bcbb5830290c694aa14b6789e07450f069","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/63e2a5d232218f3f8d852056751e609a5367aaec","label":"github.com/vitejs/vite/commit/63e2a5d232218f3f8d852056751e609a5367aaec","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/e11d24008b97d4ca731ecc1a3b95260a6d12e7e0","label":"github.com/vitejs/vite/commit/e11d24008b97d4ca731ecc1a3b95260a6d12e7e0","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58751.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58751.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58751","label":"nvd.nist.gov/vuln/detail/CVE-2025-58751","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-MJRC-FFVW-W79R","CGA-P8X2-M52M-VF3F"]},"timeline":[{"kind":"published","date":"2025-09-08T22:52:45.667Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-09T13:29:36.802Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:56:47.046Z","stale":false,"partial":false}}