CVE-2025-57283 BrowserStack Local vulnerable to Command Injection through logfile variable
Attackers can execute arbitrary commands via unsanitized logfile input in the browserstack-local Node.js package.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-57283?
CVE-2025-57283 is a high-severity command injection vulnerability in n/a, published on 28 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-57283?
2 open source packages ship an affected version, including browserstack-local. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
browserstack-local npm | All versions | 1.5.9 |
browserstack-local npm | All versions | 1.5.9 |
Products include Browserstack Browserstack-Local.
How do I fix CVE-2025-57283?
Upgrade browserstack-local to 1.5.9 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-57283 being exploited?
There is no known exploitation of CVE-2025-57283 in the wild and no public exploit code.
Sources
Also known as GHSA-g4w6-c99w-4wh7.