{"answers":{"affected":"8 open source packages ship an affected version, including @vitest/browser and vite-plus.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53633 exists.","fix":"Upgrade @vitest/browser to a fixed version for your release line: 3.2.5, 4.1.8 or 5.0.0-beta.4.","what":"CVE-2026-53633 is a critical code injection vulnerability in vitest-dev vitest, published on 14 Jul 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-53633 and fix it if it is affected.\n\nWhat it is: CVE-2026-53633 is a critical code injection vulnerability in vitest-dev vitest, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53633 exists.\n\nAffected packages and fixed versions:\n- @vitest/browser (npm): affected from 3.0.0; fixed in 3.2.5\n- @vitest/browser (npm): affected from 3.0.0; fixed in 3.2.5\n- @vitest/browser (npm): affected from 4.0.0; fixed in 4.1.8\n- @vitest/browser (npm): affected from 4.0.0; fixed in 4.1.8\n- @vitest/browser (npm): affected from 5.0.0-beta.0; fixed in 5.0.0-beta.4\n- @vitest/browser (npm): affected from 5.0.0-beta.0; fixed in 5.0.0-beta.4\n- vite-plus (npm): affected all versions; fixed in 0.1.24\n- vite-plus (npm): affected all versions; fixed in 0.1.24\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-53633/ (Markdown: https://insights.sbomify.com/CVE-2026-53633/index.md)","id":"CVE-2026-53633","markdown":"https://insights.sbomify.com/CVE-2026-53633/index.md","name":"CVE-2026-53633","record":{"aliases":["CLSA-2026-1790459317","CLSA-2026-1792160942","CLSA-2026-1792160962","CLSA-2026-1792161477","CLSA-2026-1792161653","CLSA-2026-1792161665","CLSA-2026-1792161724","CLSA-2026-1792161771","CLSA-2026-1792161834","CLSA-2026-1792161880","CLSA-2026-1792161945","CLSA-2026-1792162013","CLSA-2026-1792162039","CLSA-2026-1792162063","GHSA-g8mr-85jm-7xhm","MINI-5wwf-2j35-h5vm","MINI-c2p9-6mfm-cp9w"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Vitest testing framework","requires_auth":"none","summary":"Remote attackers can exploit exposed Browser Mode APIs to overwrite configuration files and execute arbitrary code in Vitest projects.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"description":"Vitest is a testing framework powered by Vite. From 3.0.0 until 3.2.5, 4.1.8, and 5.0.0-beta.4, Vitest Browser Mode exposed a cdp() API that forwarded raw Chrome DevTools Protocol methods without being gated by allowWrite or allowExec, allowing a remote client with exposed browser API metadata to use CDP Page.setDownloadBehavior and Runtime.evaluate to overwrite vite.config.ts and execute attacker-controlled Node.js code. This issue is fixed in versions 3.2.5, 4.1.8, and 5.0.0-beta.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE","id":"CVE-2026-53633","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":8,"n_references":10,"next":{"headline":"Sharp: Missing Authorization Check in Quick Creation Command Endpoints","id":"CVE-2026-53634"},"packages":[{"ecosystem":"npm","fixed":["3.2.5"],"introduced":["3.0.0"],"last_affected":[],"package":"@vitest/browser","purl":null,"source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["3.2.5"],"introduced":["3.0.0"],"last_affected":[],"package":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["4.1.8"],"introduced":["4.0.0"],"last_affected":[],"package":"@vitest/browser","purl":null,"source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["4.1.8"],"introduced":["4.0.0"],"last_affected":[],"package":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["5.0.0-beta.4"],"introduced":["5.0.0-beta.0"],"last_affected":[],"package":"@vitest/browser","purl":null,"source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["5.0.0-beta.4"],"introduced":["5.0.0-beta.0"],"last_affected":[],"package":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["0.1.24"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":null,"source":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","fixed":["0.1.24"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":"pkg:npm/vite-plus","source":"GHSA-g8mr-85jm-7xhm"}],"prev":{"headline":"NTLMv2 hash disclosure via UNC path handling on Windows","id":"CVE-2026-53632"},"products":["vitest"],"published":"2026-07-14","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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["vitest-dev"]},"summary":"Remote attackers can exploit exposed Browser Mode APIs to overwrite configuration files and execute arbitrary code in Vitest projects.","url":"https://insights.sbomify.com/CVE-2026-53633/"}