{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53633","id":"CVE-2026-53633","title":"Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE","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","descriptionLong":"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.","published":"2026-07-14T19:35:42.739Z","updated":"2026-10-28T02:30:24.153795170Z","reserved":"2026-06-09T20:16:59.647Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["vitest-dev vitest"],"affectedProducts":[{"vendor":"vitest-dev","product":"vitest","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.2.5","status":"affected"},{"version":">= 4.0.0, < 4.1.8","status":"affected"},{"version":">= 5.0.0-beta.0, < 5.0.0-beta.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@vitest/browser","purl":"pkg:npm/%40vitest/browser","ranges":[">=5.0.0-beta.0 <5.0.0-beta.4",">=4.0.0 <4.1.8",">=3.0.0 <3.2.5"],"fixed":["5.0.0-beta.4","4.1.8","3.2.5"],"advisory":"GHSA-g8mr-85jm-7xhm"},{"ecosystem":"npm","name":"vite-plus","purl":"pkg:npm/vite-plus","ranges":["<0.1.24"],"fixed":["0.1.24"],"advisory":"GHSA-g8mr-85jm-7xhm"}],"cwes":["CWE-749","CWE-862"],"aliases":["GHSA-g8mr-85jm-7xhm"],"references":[{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/vitest-dev/vitest/pull/10444","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitest-dev/vitest/pull/10450","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitest-dev/vitest/pull/10456","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53633.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53633","tags":["advisory"]},{"url":"https://github.com/vitest-dev/vitest","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00896,"epssPercentile":0.60293,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53633","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53633","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53633","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g8mr-85jm-7xhm","ok":true,"note":"GHSA-g8mr-85jm-7xhm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53633","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}