{"api_version":"1","generated_at":"2026-08-14T05:13:52+00:00","cve":"CVE-2026-73653","urls":{"html":"https://cve.report/CVE-2026-73653","api":"https://cve.report/api/cve/CVE-2026-73653.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-73653","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-73653"},"summary":{"title":"Vitest: Browser Mode provider commands bypass the file-access permission gate","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-08-13 19:17:38","updated_at":"2026-08-13 19:17:38"},"problem_types":["CWE-22","CWE-552","CWE-862","CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","CWE-552 CWE-552: Files or Directories Accessible to External Parties","CWE-862 CWE-862: Missing Authorization"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","baseScore":9.4,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.4,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"}}],"references":[{"url":"https://github.com/vitest-dev/vitest/pull/10680","name":"https://github.com/vitest-dev/vitest/pull/10680","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/pull/10679","name":"https://github.com/vitest-dev/vitest/pull/10679","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6","name":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23","name":"https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f","name":"https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv","name":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.10","name":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.10","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb","name":"https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.7","name":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/vitest-dev/vitest/pull/10674","name":"https://github.com/vitest-dev/vitest/pull/10674","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-73653","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73653","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"vitest-dev","product":"vitest","version":"affected < 3.2.7","platforms":[]},{"source":"CNA","vendor":"vitest-dev","product":"vitest","version":"affected >= 4.0.0, < 4.1.10","platforms":[]},{"source":"CNA","vendor":"vitest-dev","product":"vitest","version":"affected >= 5.0.0-beta.1, < 5.0.0-beta.6","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-73653","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-08-13T18:42:15.244525Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-08-13T18:42:42.750Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"vitest","vendor":"vitest-dev","versions":[{"status":"affected","version":"< 3.2.7"},{"status":"affected","version":">= 4.0.0, < 4.1.10"},{"status":"affected","version":">= 5.0.0-beta.1, < 5.0.0-beta.6"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.4,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-552","description":"CWE-552: Files or Directories Accessible to External Parties","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-862","description":"CWE-862: Missing Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-13T18:19:00.452Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv"},{"name":"https://github.com/vitest-dev/vitest/pull/10674","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10674"},{"name":"https://github.com/vitest-dev/vitest/pull/10679","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10679"},{"name":"https://github.com/vitest-dev/vitest/pull/10680","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10680"},{"name":"https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23"},{"name":"https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f"},{"name":"https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb"},{"name":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.7","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.7"},{"name":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.10","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.10"},{"name":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6"}],"source":{"advisory":"GHSA-p63j-vcc4-9vmv","discovery":"UNKNOWN"},"title":"Vitest: Browser Mode provider commands bypass the file-access permission gate"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-73653","datePublished":"2026-08-13T18:19:00.452Z","dateReserved":"2026-08-13T14:04:09.604Z","dateUpdated":"2026-08-13T18:42:42.750Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-13 19:17:38","lastModifiedDate":"2026-08-13 19:17:38","problem_types":["CWE-22","CWE-552","CWE-862","CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","CWE-552 CWE-552: Files or Directories Accessible to External Parties","CWE-862 CWE-862: Missing Authorization"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","baseScore":9.4,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":5.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-13T18:42:15.244525Z","id":"CVE-2026-73653","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"73653","Ordinal":"1","Title":"Vitest: Browser Mode provider commands bypass the file-access pe","CVE":"CVE-2026-73653","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"73653","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Vitest: Browser Mode provider commands bypass the file-access pe"}]}}}