Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-49143: Improper Control of Generation of Code ('Code Injection') in browserstack browserstack-runner

0
High
VulnerabilityCVE-2026-49143cvecve-2026-49143
Published: 06/02/2026 (06/02/2026, 20:31:16 UTC)
Source: CVE Database V5
Vendor/Project: browserstack
Product: browserstack-runner

Description

BrowserStack Runner through 0.9.5 contains a remote code execution vulnerability in the /_log HTTP handler that allows unauthenticated network-adjacent attackers to execute arbitrary code by submitting crafted JSON request bodies to the handler, which passes user-supplied data to vm.runInNewContext() combined with eval(). Attackers can escape the Node.js vm sandbox by leveraging a host-context Function reference through util.format to access the host process via this.constructor.constructor, achieving full remote code execution on the underlying system without any authentication.

CVSS v4.0

Score 8.7high

Attack Vector
Adjacent Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

browserstack/browserstack-runner
pkg:npm/browserstack/browserstack-runner
Affected versions
<=0.9.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:07:24 UTC

Technical Analysis

CVE-2026-49143 is a remote code execution vulnerability in BrowserStack Runner (<=0.9.5) affecting the /_log HTTP handler. The handler processes user-supplied JSON data and passes it unsafely to Node.js's vm.runInNewContext() combined with eval(), allowing attackers to escape the sandbox via a host-context Function reference through util.format. This leads to full remote code execution on the underlying system without requiring authentication or user interaction.

Potential Impact

Successful exploitation results in full remote code execution on the host system running BrowserStack Runner, allowing attackers to execute arbitrary commands with the privileges of the application. This can lead to complete system compromise, data theft, or further network pivoting.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict network access to the /_log HTTP handler and monitor for suspicious activity. Avoid exposing BrowserStack Runner instances to untrusted networks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-27T17:40:12.739Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1f41c3e29bf47b5000d1a7

Added to database: 06/02/2026, 20:49:07 UTC

Last enriched: 07/15/2026, 10:07:24 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 110

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses