{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.2.5"
              },
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.1.8"
              },
              {
                "introduced": "5.0.0-beta.0"
              },
              {
                "fixed": "5.0.0-beta.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "01600e04c2252abee78fc8a695197ce62f2846d4"
            },
            {
              "introduced": "da7ce1712fd4d0e4e807ec01ce755581e6892d5b"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "2cbad0a923c48c6144266df3cd25f93547cb5221"
            },
            {
              "fixed": "e61f2dd2a0ba0a266c1c5e0334aad3799fee527f"
            },
            {
              "fixed": "90569f5b6ac33d0a5602672e8cfb8dc9fcdb99b3"
            },
            {
              "fixed": "385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7"
            },
            {
              "fixed": "63e3b2eee4d58da56786a6333f517b9b492528c7"
            },
            {
              "fixed": "e4067b3b150005fd42cf75f994300119245806b9"
            }
          ],
          "repo": "https://github.com/vitest-dev/vitest",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g8mr-85jm-7xhm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-749",
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53633.json"
  },
  "details": "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.",
  "id": "CVE-2026-53633",
  "modified": "2026-07-17T03:41:41.140612569Z",
  "published": "2026-07-14T19:35:42.739Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/vitest-dev/vitest/releases/tag/v3.2.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vitest-dev/vitest/releases/tag/v4.1.8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53633.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53633"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vitest-dev/vitest/pull/10444"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vitest-dev/vitest/pull/10450"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vitest-dev/vitest/pull/10456"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE"
}