{"id":"CVE-2026-48723","aliases":["CVE-2026-48723"],"related":[],"kind":"vulnerability","state":"published","title":"BrowserStack Cypress CL: Command Injection via cypress_config_file leads to arbitrary code execution through malicious browserstack.json","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-15T22:27:55.206Z","modified":"2026-06-17T10:55:14.217Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 1.36.6","status":"affected"}],"vendor":"browserstack","product":"browserstack-cypress-cli","source":"cvelist"}],"references":[{"url":"https://github.com/browserstack/browserstack-cypress-cli/security/advisories/GHSA-fh4c-mffm-8xhf","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/browserstack/browserstack-cypress-cli/commit/6dbf8f9374c0e25eac818fbcb95f5705ded71710","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-16T13:34:46.654Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48723","url":"https://www.cve.org/CVERecord?id=CVE-2026-48723","licence":"CVE Terms of Use","modified":"2026-06-16T13:37:20.032Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48723","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48723","licence":"Public domain","modified":"2026-06-17T10:55:14.217Z"}],"updatedAt":"2026-11-25T22:59:24.716Z","epss":{"score":0.00659,"percentile":0.52801,"date":"2026-12-01T12:00:22.000Z"}}