CVE-2026-112948
No exploitation reported by the sources we read.
- Published2026-10-20
- Fixed in5.0.5
- WeaknessCWE-200 · CWE-552
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Vitest is a testing framework powered by Vite. From 5.0.0-beta.6 until 5.0.5, Vitest dev servers can misapply server.fs.deny because project servers replace Vite's defaults and the root server adds .vitest-secret-token after Vite compiles its matcher. An attacker who can reach an affected UI, Browser Mode, or API server can read denied project files or the fallback API token at node_modules/.vitest/.vitest-secret-token, and Browser Mode with test.projects can expose JavaScript-compatible .env values through a malicious website. This issue is fixed in version 5.0.5.
Timeline
dates in UTC- 2026-10-2016:17CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.0 | ≥ 5.0.0-beta.6, < 5.0.5 | 5.0.5 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.0 | ≥ 5.0.0-beta.6, < 5.0.5 | 5.0.5 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.0.0-rc.0, < 1.3.0 | 1.3.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA4 products
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- vitest-dev vitestAffected
- = >= 5.0.0-beta.6, < 5.0.5no fix stated
- @vitest browserAffected
- = >= 5.0.0-beta.6, < 5.0.5no fix stated
- @vitest uiAffected
- = >= 5.0.0-beta.6, < 5.0.5no fix stated
- vitejs vite-plusAffected
- = >= 1.0.0-rc.0, < 1.3.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-20
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
vitest: vitest: Information disclosure via improper file access restrictions
amq-broker-bin.zip as a component of Red Hat AMQ Broker 7 · amq-broker-maven-repository.zip as a component of Red Hat AMQ Broker 7 · ansible-automation-platform-26/gateway-rhel9 as a component of Red Hat Ansible Automation Platform 2 · +12 more
Fix
- Update @vitest/browser to 5.0.5
- No fix available, says the vendor Red Hat Product Security CVE-2026-112948 · 14 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2026-112948 · 1 productOut of support scope
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-10-20
- CNACVSS 3.16.5known since 2026-10-23
- CNAweakness (CWE)CWE-200, CWE-552known since 2026-10-23
- FIRST EPSSEPSS score0.4 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-10-21
Identifiers
- EUVD-2026-105143same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-p458-7748-mcp3same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Published
- 2026-10-20
- Last modified
- 2026-10-20
- NVD status
- Awaiting Analysis
- GitHub advisory
- GHSA-p458-7748-mcp3
Frequently asked questions
What is CVE-2026-112948?
Is CVE-2026-112948 actively exploited?
What is the CVSS score for CVE-2026-112948?
Running @vitest/browser? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-24963same product
- CVE-2026-73653same product
- CVE-2026-47428same product
- CVE-2026-53633same product
- CVE-2026-109619KEVsame weekRCE via stale global state
- CVE-2026-109618KEVsame weekRCE via OOM corruption
- CVE-2026-111497KEVsame weekOut-of-Bounds Write in Google Brotli Decoder
- CVE-2026-114625KEVsame weekSecurity Advisory 0199
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-p458-7748-mcp3
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0