Unauthenticated code execution via /_log sandbox escape
Published Jun 2, 2026 · Updated Jun 2, 2026
Code injection in BrowserStack Runner 0.9.5 and earlier allows remote attackers on the local network to execute arbitrary host commands. The /_log handler maps JSON arguments through eval() inside vm.runInNewContext(), while util.format exposes a host Function constructor that escapes the sandbox. The test server listens on all interfaces without authentication during a test run, granting the attacker the runner process privileges and access to its data.
Summary
What happened
Code injection in BrowserStack Runner 0.9.5 and earlier allows remote attackers on the local network to execute arbitrary host commands. The /_log handler maps JSON arguments through eval() inside vm.runInNewContext(), while util.format exposes a host Function constructor that escapes the sandbox. The test server listens on all interfaces without authentication during a test run, granting the attacker the runner process privileges and access to its data.
The record
- CVE
- CVE-2026-49143
- Published
- Jun 2, 2026
- Updated
- Jun 2, 2026
- Vendor
- BrowserStack
- Product
- BrowserStack Runner
- Classifications
- CWE-94, T1059
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 2, 2026CVE publishedPublication date reported by the CVE source.
- Jun 2, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=0.9.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-6vr3-7wcx-v5g5 proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo