Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| browserstack | browserstack-runner | ≤ 0.9.5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | browserstack-runner | <= 0.9.5 | — | GHSA-8rpw-6cqh-2v9h |
References
- GitHub Security Advisory (GHSA-8rpw-6cqh-2v9h) vendor-advisory
- https://www.vulncheck.com/advisories/browserstack-runner-path-traversal-via-default-http-handler third-party-advisory