{"id":"CVE-2026-48723","summary":"BrowserStack Cypress CL: Command Injection via cypress_config_file leads to arbitrary code execution through malicious browserstack.json","details":"The browserstack-cypress-cli is BrowserStack's CLI which allows users to run Cypress tests on BrowserStack. Versions prior to 1.36.4 are vulnerable to OS command injection via the cypress_config_file configuration parameter. In readCypressConfigUtil.js, the loadJsFile() function constructs a shell command by interpolating the user-controlled cypress_config_filepath value into a template literal, then executes it via child_process.execSync(). Shell metacharacters in the config path (specifically \" and ;) allow breaking out of the quoted argument and injecting arbitrary commands. This issue has been fixed in version 1.36.6.","aliases":["GHSA-fh4c-mffm-8xhf"],"modified":"2026-08-04T11:51:06.086115709Z","published":"2026-06-15T22:27:55.206Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48723.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48723.json"},{"type":"ADVISORY","url":"https://github.com/browserstack/browserstack-cypress-cli/security/advisories/GHSA-fh4c-mffm-8xhf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48723"},{"type":"FIX","url":"https://github.com/browserstack/browserstack-cypress-cli/commit/6dbf8f9374c0e25eac818fbcb95f5705ded71710"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/browserstack/browserstack-cypress-cli","events":[{"introduced":"0"},{"fixed":"40517f3585574a5c852b0e8b38d9daa9ee4c1db9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.36.6"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.36.5","v1.36.3","v1.36.2","v1.36.1","v1.36.0","v1.35.0","v1.34.0","v1.33.0","v1.32.8","v1.32.7","v1.32.5","v1.32.6","v1.32.4","v1.32.3","v1.32.2","v1.32.1","v1.31.10","v1.32.0","v1.31.9","v1.31.8","v1.31.6","v1.31.7","v1.31.4","v1.31.5","v1.31.3","v1.31.1","v1.31.2","v1.31.0","v1.30.0","v1.29.2","v1.29.1","v1.29.0","v1.28.2","v1.28.0","v1.28.1","v1.27.0","v1.26.2","v1.26.1","v1.26.0","v1.25.3","v1.20.0","v1.19.1","v1.19.2","v1.19.0","v1.18.0","v1.17.0","v1.16.0","v1.15.0","v1.14.1","v1.14.0","v1.13.1","v1.13.0","v1.12.1","v1.12.0","v1.11.2","v1.11.1","v1.1.2","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48723.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}