{"answers":{"affected":"6 open source packages ship an affected version, including @vitest/browser.","exploited":"There is no known exploitation of CVE-2026-73653 in the wild and no public exploit code.","fix":"Upgrade @vitest/browser to a fixed version for your release line: 3.2.7, 4.1.10 or 5.0.0-beta.6.","what":"CVE-2026-73653 is a critical path traversal vulnerability in vitest-dev vitest, published on 13 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-73653 and fix it if it is affected.\n\nWhat it is: CVE-2026-73653 is a critical path traversal vulnerability in vitest-dev vitest, published on 13 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-73653 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @vitest/browser (npm): affected all versions; fixed in 3.2.7\n- @vitest/browser (npm): affected all versions; fixed in 3.2.7\n- @vitest/browser (npm): affected from 4.0.0; fixed in 4.1.10\n- @vitest/browser (npm): affected from 4.0.0; fixed in 4.1.10\n- @vitest/browser (npm): affected from 5.0.0-beta.1; fixed in 5.0.0-beta.6\n- @vitest/browser (npm): affected from 5.0.0-beta.1; fixed in 5.0.0-beta.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-73653/ (Markdown: https://insights.sbomify.com/CVE-2026-73653/index.md)","id":"CVE-2026-73653","markdown":"https://insights.sbomify.com/CVE-2026-73653/index.md","name":"CVE-2026-73653","record":{"aliases":["CLEANSTART-2026-UN72189","CLSA-2026-1790162728","CLSA-2026-1792160965","CLSA-2026-1792161476","CLSA-2026-1792161578","CLSA-2026-1792161651","CLSA-2026-1792161664","CLSA-2026-1792161723","CLSA-2026-1792161770","CLSA-2026-1792161833","CLSA-2026-1792161879","CLSA-2026-1792161944","CLSA-2026-1792161978","CLSA-2026-1792162038","CLSA-2026-1792162062","GHSA-p63j-vcc4-9vmv","MINI-p294-9m57-wv2p","MINI-qh6g-jpp9-r5qx"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Vitest testing framework","requires_auth":"none","summary":"Attackers can read, create, or delete arbitrary local files via Vitest Browser Mode commands due to missing permission checks and path confinement.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Vitest: Browser Mode provider commands bypass the file-access permission gate","id":"CVE-2026-73653","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":6,"n_references":10,"next":{"headline":"Trigger.dev: Prototype pollution via run metadata operations → process-wide cross-tenant DoS","id":"CVE-2026-73654"},"packages":[{"ecosystem":"npm","fixed":["3.2.7"],"introduced":["0"],"last_affected":[],"package":"@vitest/browser","purl":null,"source":"GHSA-p63j-vcc4-9vmv"},{"ecosystem":"npm","fixed":["3.2.7"],"introduced":["0"],"last_affected":[],"package":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","source":"GHSA-p63j-vcc4-9vmv"},{"ecosystem":"npm","fixed":["4.1.10"],"introduced":["4.0.0"],"last_affected":[],"package":"@vitest/browser","purl":null,"source":"GHSA-p63j-vcc4-9vmv"},{"ecosystem":"npm","fixed":["4.1.10"],"introduced":["4.0.0"],"last_affected":[],"package":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","source":"GHSA-p63j-vcc4-9vmv"},{"ecosystem":"npm","fixed":["5.0.0-beta.6"],"introduced":["5.0.0-beta.1"],"last_affected":[],"package":"@vitest/browser","purl":null,"source":"GHSA-p63j-vcc4-9vmv"},{"ecosystem":"npm","fixed":["5.0.0-beta.6"],"introduced":["5.0.0-beta.1"],"last_affected":[],"package":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","source":"GHSA-p63j-vcc4-9vmv"}],"prev":{"headline":"vantage6: Algorithm developer can edit another developer's algorithm that is pending / under review","id":"CVE-2026-73652"},"products":["vitest"],"published":"2026-08-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["vitest-dev"]},"summary":"Attackers can read, create, or delete arbitrary local files via Vitest Browser Mode commands due to missing permission checks and path confinement.","url":"https://insights.sbomify.com/CVE-2026-73653/"}