Skip to main content
VulnerabilityPublished Updated

CVE-2026-53633: vitest · Exposed Dangerous Method or Function

Affects vitestSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.8 Critical · fixed in 5.0.0-beta.4 : patch vitest as a priority.

Data as of 26 Nov 2026, 14:59 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.0-beta.4, 4.1.8, 3.2.5 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
vitest-devvitestAffected
  • >=5.0.0-beta.0 <5.0.0-beta.4
Fixed in
  • 5.0.0-beta.4
vitest-devvitestAffected
  • >=4.0.0 <4.1.8
Fixed in
  • 4.1.8
vitest-devvitestAffected
  • >=3.0.0 <3.2.5
Fixed in
  • 3.2.5
npm@vitest/browserpkg:npm/%40vitest/browserOther threatsAffected
  • >=5.0.0-beta.0 <5.0.0-beta.4
Fixed in
  • 5.0.0-beta.4
npm@vitest/browserpkg:npm/%40vitest/browserOther threatsAffected
  • >=4.0.0 <4.1.8
Fixed in
  • 4.1.8
npm@vitest/browserpkg:npm/%40vitest/browserOther threatsAffected
  • >=3.0.0 <3.2.5
Fixed in
  • 3.2.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Vitest versions 3.2.5, 4.1.8, and 5.0.0-beta. Users should upgrade to these or later versions to remediate the vulnerability. There is no indication that temporary mitigations exist; upgrading is the recommended action.

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.

References

Community reviews

Loading reviews…