← Back
CVE-2026-53633
critical
CVSS 9.8
Vulnerability in @vitest/browser (CVE-2026-53633)
Summary
vulnerability in @vitest/browser (CVE-2026-53633). Successful exploitation can lead to full system takeover. Exploitable via ``browser.api.allowWrite``. Mitigation: upgrade to `3.2.5` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2026-53633** has been found in @vitest/browser.
Attackers can target a specific entry point like ``browser.api.allowWrite`` over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade @vitest/browser to **3.2.5** or later.
If unsure, ask your IT team or search "@vitest/browser CVE-2026-53633" on the vendor's site.
CVE-2026-53633 (@vitest/browser) — CWE-749 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: `browser.api.allowWrite` / `browser.api.allowExec` / `api.allowWrite` / `api.allowExec`
Patched: `3.2.5` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-749) exists in @vitest/browser. Attackers reach the vulnerable code path via ``browser.api.allowWrite`` without authentication.
📍 Affected scope
@vitest/browser — . Attack surface: `browser.api.allowWrite` / `browser.api.allowExec` / `api.allowWrite` / `api.allowExec`.
🔥 Severity
Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover
🔧 How to fix
Update to **3.2.5**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r '@vitest/browser' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r '@vitest/browser' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `@vitest/browser` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade @vitest/browser to 3.2.5ステージング環境で 3.2.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
npm
@vitest/browser
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.5"}]}]
npm
vite-plus
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.24"}]}]
References
- web https://github.com/vitest-dev/vitest/security/advisories/GHSA-g8mr-85jm-7xhm
- web https://github.com/advisories/GHSA-g8mr-85jm-7xhm
- web https://github.com/vitest-dev/vitest/commit/385a1aefd4c2bfa5e7d58bf7c6834c929969f2c7
- web https://github.com/vitest-dev/vitest/commit/63e3b2eee4d58da56786a6333f517b9b492528c7
- web https://github.com/vitest-dev/vitest/commit/e4067b3b150005fd42cf75f994300119245806b9
- web https://github.com/vitest-dev/vitest/pull/10444
- web https://github.com/vitest-dev/vitest/pull/10450
- web https://github.com/vitest-dev/vitest/pull/10456
- web https://github.com/vitest-dev/vitest/releases/tag/v3.2.5
- web https://github.com/vitest-dev/vitest/releases/tag/v4.1.8
- web https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.4
- web https://nvd.nist.gov/vuln/detail/CVE-2026-53633