Vulnérabilités / CVE-2026-73653

critique

CVE-2026-73653

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

Publiée Modifiée CWE 22, 552, 862
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon GHSA, Red Hat.

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé 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 et 1 autres
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
Afficher les 6 entrées de 4 sources
SourcePaquetCorrigé 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

Références

Les 14 références

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.