Vulnerability · Published Jan 28, 2026 · Assigned by mitre
CVE-2025-57283
High 7.8
In plain English
A high-severity code injection in the browserstack-local package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | browserstack-local | 1.5.9 | GHSA-g4w6-c99w-4wh7 |
Affected products (as reported)
Weakness: CWE-94, CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://www.npmjs.com
- https://gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1
- https://access.redhat.com/security/cve/CVE-2025-57283 vdb-entry, x_refsource_REDHAT
- RHBZ#2433928 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57283.json x_sadp-csaf-vex