Severity by source
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
6DescriptionCVE.org
BrowserStack Runner through 0.9.5 contains a path traversal vulnerability in the _default HTTP handler in lib/server.js that allows unauthenticated network-adjacent attackers to read arbitrary files. Attackers can exploit the unauthenticated HTTP server bound on all interfaces to traverse outside the project root and access sensitive files.
AnalysisAI
Arbitrary file disclosure in BrowserStack Runner versions through 0.9.5 allows unauthenticated network-adjacent attackers to read sensitive files outside the project root by abusing a path traversal flaw in the default HTTP handler of lib/server.js. Because the embedded test server binds on all interfaces by default, any attacker on the same network segment (Wi-Fi, VLAN, or shared LAN) can retrieve source code, credentials, or environment files. No public exploit identified at time of analysis, but a GitHub Security Advisory (GHSA-8rpw-6cqh-2v9h) has been published.
Technical ContextAI
BrowserStack Runner is a Node.js command-line tool that executes JavaScript unit tests against BrowserStack's cloud browser grid; during a test run it spawns a local HTTP server (lib/server.js) to host the test harness and assets so remote browsers can fetch them. The vulnerability is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) in the server's _default handler, which fails to canonicalize or constrain user-supplied request paths before resolving them against the project root, so sequences such as ../../ escape the intended document root. The CPE cpe:2.3:a:browserstack:browserstack-runner identifies the vulnerable application, and the bug is amplified by the server binding to 0.0.0.0 instead of localhost, exposing it to anyone on the same broadcast domain.
RemediationAI
Upgrade to the patched release published by BrowserStack as referenced in GHSA-8rpw-6cqh-2v9h; the advisory data confirms a fix is available upstream but a specific fixed release version is not independently confirmed in the supplied intelligence, so consult the advisory directly for the exact tag. As compensating controls until the upgrade lands, only run BrowserStack Runner on trusted networks (wired corporate segments rather than shared Wi-Fi), bind the test server to the loopback interface or block inbound traffic to its port with a host firewall, run tests inside an isolated VM or container so the file system reachable from process root contains no secrets, and rotate any credentials that may have lived in the project tree during prior test runs.
More in Browserstack Runner
View allSame weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-34031
GHSA-8rpw-6cqh-2v9h