{"id":"GHSA-g4w6-c99w-4wh7","revision":"a272197b76014c2488323edffad12d19","records":[{"revision":"a272197b76014c2488323edffad12d19","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-g4w6-c99w-4wh7","aliases":["CVE-2025-57283"],"title":"BrowserStack Local vulnerable to Command Injection through logfile variable","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.","state":0,"publishedAt":"2026-01-28T18:30:47+00:00","modifiedAt":"2026-02-28T05:14:40.732518+00:00","affected":[{"ecosystem":"npm","name":"browserstack-local","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-57283","https://github.com/browserstack/browserstack-local-nodejs/issues/168","https://gist.github.com/Dremig/b639c61541dd1482007dc7a5cd7fefb1","https://github.com/browserstack/browserstack-local-nodejs","https://www.npmjs.com/"],"sourceUrl":"https://github.com/advisories/GHSA-g4w6-c99w-4wh7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g4w6-c99w-4wh7","identifiers":["GHSA-g4w6-c99w-4wh7","CVE-2025-57283"]},"retained":false,"historicalAffected":[]}],"coverage":[]}