Vulnerabilidades / CVE-2026-73653

crítica

CVE-2026-73653

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

Publicada Modificada CWE 22, 552, 862
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

GHSA9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Red Hat9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

La etiqueta propia de Trivy es CRITICAL. Crítica según GHSA, Red Hat.

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
npm::GitHub Security Advisory npm@vitest/browser4.1.10, 3.2.7, 5.0.0-beta.6
chainguardlangfuse-3, langfuse-fips-33.225.7-r6 y 1 más
seal npm::Seal Security Database@seal-security/vitest-sealsec-browser, @vitest/browser2.1.2-sp999, 2.1.8-sp999, 3.0.0-sp999, 3.0.3-sp999
wolfilangfuse-33.225.7-r6
Mostrar las 6 entradas de 4 fuentes
FuentePaqueteCorregido en
npm::GitHub Security Advisory npm@vitest/browser4.1.10, 3.2.7, 5.0.0-beta.6
chainguardlangfuse-33.225.7-r6
chainguardlangfuse-fips-33.224.1-r0
seal npm::Seal Security Database@seal-security/vitest-sealsec-browser2.1.2-sp999, 2.1.8-sp999, 3.0.0-sp999, 3.0.3-sp999
seal npm::Seal Security Database@vitest/browser2.1.2-sp999, 2.1.8-sp999, 3.0.0-sp999, 3.0.3-sp999
wolfilangfuse-33.225.7-r6

Referencias

Las 14 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.