Skip to content
Fencer Vulns
critical 9.4

CVE-2026-73653 json

Vitest: Browser Mode provider commands bypass the file-access permission gate

published 2026-07-21 3 mo ago modified 2026-09-10 1 mo ago also GHSA-p63j-vcc4-9vmv , EUVD-2026-58197

cvss
9.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

Vitest is a testing framework powered by Vite. Prior to versions 3.2.7, 4.1.10, and 5.0.0-beta.6, Browser Mode provider commands including upload, takeScreenshot, screenshotMatcher, stopChunkTrace, deleteTracing, and annotateTraces accept browser-supplied file paths without enforcing the allowWrite permission gate or confining paths to the project root. A client that can reach the Browser Mode API can read arbitrary local files, create or overwrite image and trace files, or delete files accessible to the Vitest process even when allowWrite is false. This issue is fixed in versions 3.2.7, 4.1.10, and 5.0.0-beta.6.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-73653 updated cvss 9.4

vitest: Vitest: Browser Mode provider commands bypass the file-access permission gate

  • Red Hat Build of Podman Desktop rh-podman-desktop.git
    affected: workaround, no fix available “Making Browser Mode API unreachable outside of local machine by making it listen only on localhost.”
  • Red Hat AMQ Broker 7 amq-broker-bin.zip, amq-broker-maven-repository.zip Red Hat Ansible Automation Platform 2 automation-gateway, automation-platform-ui, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9
    not affected: vulnerable code not present
  • Red Hat Build of Keycloak rhbk-quarkus-dist.zip, keycloak-operator.redhat-00001.zip
    not affected: component not present
  • Red Hat Hardened Images jaeger, grafana13.2, prometheus3.13, opentelemetry-collector, opentelemetry-collector-k8s, opentelemetry-collector-contrib
    not affected: vulnerable code not present
  • Red Hat JBoss Enterprise Application Platform 8 jboss-eap-runtime-maven-repository.zip, jboss-eap.1-runtime-maven-repository.zip Red Hat JBoss Enterprise Application Platform Expansion Pack jboss-eap-runtime-maven-repository.zip, jboss-eap.1-runtime-maven-repository.zip
    not affected: component not present
  • Red Hat Trusted Artifact Signer rhtas/rhtas-console-ui-rhel9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
2 mo ago

Exploit prediction

0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
GitHub 3.1 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected packages

ecosystem package affected fixed in
npm @vitest/browser
>=4.0.0, <4.1.10
<3.2.7
>=5.0.0-beta.1, <5.0.0-beta.6
4.1.10
3.2.7
5.0.0-beta.6

Affected products

  • vitest-dev vitest

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-552 Files or Directories Accessible to External Parties
  • CWE-862 Missing Authorization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.