CVE-2025-57283
HIGH 7.8CVSS 3.1BrowserStack Local vulnerable to Command Injection through logfile variable
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
- 28 Jan 2026
- Last modified
- 15 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77CWE-78CWE-94
- Also known as
- GHSA-g4w6-c99w-4wh7
- Sources
- NVDJSONOSV GHSA-g4w6-c99w-4wh7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | browserstack | browserstack-localcpe:2.3:a:browserstack:browserstack-local:1.5.8:*:*:*:*:node.js:*:* |
= 1.5.8 | |
| OSV | npm | browserstack-local | < 1.5.9 | 1.5.9 |
References
- https://gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1 · Third Party Advisory, WEB
- https://www.npmjs.com · Product, WEB
- 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://nvd.nist.gov/vuln/detail/CVE-2025-57283 · ADVISORY
- https://github.com/browserstack/browserstack-local-nodejs/issues/168 · WEB
- https://github.com/browserstack/browserstack-local-nodejs · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 28 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Jan 2026)