{"id":"GHSA-g4w6-c99w-4wh7","summary":"BrowserStack Local vulnerable to Command Injection through logfile variable","details":"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.","aliases":["CVE-2025-57283"],"modified":"2026-02-28T05:14:40.732518Z","published":"2026-01-28T18:30:47Z","database_specific":{"github_reviewed_at":"2026-01-29T15:46:52Z","nvd_published_at":"2026-01-28T16:16:12Z","cwe_ids":["CWE-77"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57283"},{"type":"WEB","url":"https://github.com/browserstack/browserstack-local-nodejs/issues/168"},{"type":"WEB","url":"https://gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1"},{"type":"PACKAGE","url":"https://github.com/browserstack/browserstack-local-nodejs"},{"type":"WEB","url":"https://www.npmjs.com"}],"affected":[{"package":{"name":"browserstack-local","ecosystem":"npm","purl":"pkg:npm/browserstack-local"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.9"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.5.8","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-g4w6-c99w-4wh7/GHSA-g4w6-c99w-4wh7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}