high7.8
CVE-2025-57283
BrowserStack Local vulnerable to Command Injection through logfile variable
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | browserstack-local | <= 1.5.8 | 1.5.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Browserstack | Browserstack-Local | Version 1.5.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1
- https://www.npmjs.com
- https://access.redhat.com/security/cve/CVE-2025-57283
- https://bugzilla.redhat.com/show_bug.cgi?id=2433928
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57283.json
- https://github.com/advisories/GHSA-g4w6-c99w-4wh7
- https://nvd.nist.gov/vuln/detail/CVE-2025-57283
- https://github.com/browserstack/browserstack-local-nodejs/issues/168