{"schemaVersion":3,"id":"CVE-2026-73653","aliases":["CGA-3v7g-rxh4-72rm","CGA-68xc-qrwq-5qc4","CGA-mw9g-wxjq-5f2x","GHSA-p63j-vcc4-9vmv","CGA-6fhc-mwq5-pmh5","CGA-jm5w-whfv-9859"],"status":"published","duplicateOf":null,"title":null,"description":"Vitest is a testing framework powered by Vite. Prior to versions 3.2.7, 4.1.10, and 5.0.0-beta.6, Browser Mode provider commands including upload, takeScreenshot, screenshotMatcher, stopChunkTrace, deleteTracing, and annotateTraces accept browser-supplied file paths without enforcing the allowWrite permission gate or confining paths to the project root. A client that can reach the Browser Mode API can read arbitrary local files, create or overwrite image and trace files, or delete files accessible to the Vitest process even when allowWrite is false. This issue is fixed in versions 3.2.7, 4.1.10, and 5.0.0-beta.6.","dates":{"published":"2026-08-13T18:19:00.452Z","modified":"2026-08-13T18:42:42.750Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.4,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.4,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":9.4,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":10,"impact":9.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":9.4,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":10,"impact":9.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":9.4,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":10,"impact":9.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.4,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0079,"percentile":0.55736,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.14600000000000005,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00644},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0079,"percentile":0.55736}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0079,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0079,"percentile":0.55736}]},"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":[],"exploitCount":0,"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-552","name":"Files or Directories Accessible to External Parties","description":"The product makes files or directories accessible to unauthorized actors, even though they should not be.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"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.224.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.224.1-r0","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.224.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.224.1-r0","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.224.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.224.1-r0","eol":null,"hubHref":null},{"vendor":"@vitest","product":"browser","name":"@vitest/browser","label":"browser","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@vitest/browser","purlType":"npm","versions":[{"text":"≥ 4.0.0, < 4.1.10","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0-beta.1, < 5.0.0-beta.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.1.10 | < 3.2.7 | ≥ 5.0.0-beta.1, < 5.0.0-beta.6","eol":null,"hubHref":null},{"vendor":"vitest-dev","product":"vitest","name":"vitest","label":"vitest","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.1.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0-beta.1, < 5.0.0-beta.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.7 | ≥ 4.0.0, < 4.1.10 | ≥ 5.0.0-beta.1, < 5.0.0-beta.6","eol":null,"hubHref":"/vendor/vitest-dev/vitest"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv","label":"github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/vitest-dev/vitest/pull/10674","label":"github.com/vitest-dev/vitest/pull/10674","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/vitest-dev/vitest/pull/10679","label":"github.com/vitest-dev/vitest/pull/10679","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/vitest-dev/vitest/pull/10680","label":"github.com/vitest-dev/vitest/pull/10680","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23","label":"github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f","label":"github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb","label":"github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.7","label":"github.com/vitest-dev/vitest/releases/tag/v3.2.7","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.10","label":"github.com/vitest-dev/vitest/releases/tag/v4.1.10","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6","label":"github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73653.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73653.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73653","label":"nvd.nist.gov/vuln/detail/CVE-2026-73653","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitest-dev/vitest","label":"github.com/vitest-dev/vitest","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-9C8Q-9X8V-8MC6"]},"timeline":[{"kind":"published","date":"2026-08-13T18:19:00.452Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-13T18:42:42.750Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:11:40.227Z","stale":false,"partial":false}}