NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-57283: BrowserStack Local vulnerable to Command Injection through logfile variable

mediumCVSS 4.0 6.6GHSA-g4w6-c99w-4wh7

The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability. This occurs because the logfile variable is not properly sanitized in lib/Local.js.

Published Jan 28, 2026 · Updated Feb 27, 2026

Affected packages

browserstack-local

Ecosystem
npm
Affected
<= 1.5.8
Fixed in
1.5.9
Check
npm ls browserstack-local

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

The Node.js package browserstack-local 1.5.8 contains a command injection vulnerability. This occurs because the logfile variable is not properly sanitized in lib/Local.js.

Credited to mgol.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology