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

High 7.8 Published Updated

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.

Weakness: CWE-78, CWE-94

Which versions are affected by CVE-2025-57283?

2 open source packages ship an affected version, including browserstack-local. It affects 1 product.

PackageAffectedFixed in
browserstack-local npmAll versions1.5.9
browserstack-local npmAll versions1.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.

Is CVE-2025-57283 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free