Security Resilience

CVE-2026-73653

Path Traversal in vitest

Published
13 August 2026
Modified
09 September 2026
CVSS Score v3.1 9.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
EPSS Score 0.0079 53th percentile
Risk Priority 70 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-73653 is a critical-severity Path Traversal (CWE-22) vulnerability in vitest (named in the CVE record; NVD lists no product yet). Its CVSS base score is 9.4 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1589.001 Credentials Reconnaissance
Adversaries may gather credentials that can be used during targeting.
T1590.004 Network Topology Reconnaissance
Adversaries may gather information about the victim's network topology that can be used during targeting.
T1602 Data from Configuration Repository Collection
Adversaries may collect data related to managed devices from configuration repositories.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-25759Shared CWE-22, CWE-552
CVE-2024-52292Shared CWE-22, CWE-552
CVE-2023-23365Shared CWE-22, CWE-552
CVE-2023-34645Shared CWE-22, CWE-552
CVE-2024-49359Shared CWE-22, CWE-552
CVE-2026-32750Shared CWE-22, CWE-552
CVE-2023-23366Shared CWE-22, CWE-552
CVE-2024-48019Shared CWE-22, CWE-552
CVE-2024-4098Shared CWE-22, CWE-552
CVE-2024-53676Shared CWE-22, CWE-552

Affected Assets

vitest-dev
vitest
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V5.3.2
  • V8.4.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 directly enforces authorization checks on access to files and directories, stopping unauthorized external exposure.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

AC-6 limits granted privileges, reducing the chance that files or directories become reachable by external parties.

Input validation directly neutralizes special path elements before pathname construction occurs.

AC-4 enforces information flow rules that can block unauthorized external access to files or directories.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Enforcing least-privilege permissions and authorization policies directly prevents unauthorized file/directory exposure.

PR.IR-01 mostly match
blocks

Logical segmentation and access protections stop external parties from reaching files that should remain internal.

PR.DS-01 partial match
blocks

Data-at-rest protections such as encryption or ACLs reduce the impact of unintended file exposure.

PR.PS-01 partial match
blocks

Hardened configuration baselines commonly include file-system permission settings that limit external access.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

CWE-552 is the absence of access control on files/directories (web roots without restrictions, cloud storage open to public, archives exposing sensitive files); A.8.3 mandates access restriction mechanisms (configuration controls, per-user/per-identity permissions, isolation of sensitive data), so applying it where it was not applied before configures those controls and the unauthorized accessibility stops being present — nothing of the weakness is left over.

finds

Security testing in development catches path traversal via static/dynamic analysis.

removes

A.8.9's configuration monitoring and deviation correction removes the configuration-based instances of CWE-552 (cloud storage misconfigurations like 'Allow Blob Public Access' = true, IAM policies granting allUsers access, web server directory permissions), which constitute the bulk of modern instances; the remainder is the code/architecture-level instances (files placed under web root by design) that configuration management does not reach.

prevents

Graded partial by the owner: this user access lifecycle clause does not address cases where access groups and roles are not well defined, nor cases where user access provisioning is not normally applied, such as file permissions on a web server.

finds

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

prevents

Training raises awareness of file placement under web roots, archive packaging hygiene, and cloud storage access configuration, and the clause specifically addresses technical teams' skills for configuring security — but CWE-552 arises from specific technical decisions (storage account flags, IAM bindings, archive exclusions) that training alone does not fully prevent, placing it closer to the CWE-598 anchor than the CWE-1428 one.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (2 partial rules)
  • V-248579 OL 8 must restrict access to the kernel message buffer. blocks CWE-552
  • V-248597 There must be no "shosts.equiv" files on the OL 8 operating system. blocks CWE-552

References