CVE-2025-57283
Browserstack-local vulnerability
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.
Affected products
Browserstack-local. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Browserstack-local runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1 · Third Party Advisory
- www.npmjs.com
- nvd.nist.gov/vuln/detail/CVE-2025-57283
- github.com/advisories/GHSA-g4w6-c99w-4wh7
- github.com/browserstack/browserstack-local-nodejs/issues/168
- access.redhat.com/security/cve/CVE-2025-57283
- bugzilla.redhat.com/show_bug.cgi?id=2433928
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57283.json
- nvd.nist.gov/vuln/detail/CVE-2025-57283
- cve.org/CVERecord?id=CVE-2025-57283
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.