CVE-2026-48723
Beschrijving NL
De browserstack-cypress-cli is de CLI van BrowserStack waarmee gebruikers Cypress-tests op BrowserStack kunnen uitvoeren. Versies vóór 1.36.4 zijn kwetsbaar voor OS-opdrachtinjectie via de configuratieparameter cypress_config_file. In readCypressConfigUtil.js construeert de functieloadJsFile () een shell-opdracht door de door de gebruiker gecontroleerde cypress_config_filepath-waarde letterlijk in een sjabloon te interpoleren en deze vervolgens uit te voeren via child_process.execSync(). Shell-metakarakters in het configuratiepad (specifiek " and ;) staan het doorbreken van het aangehaalde argument toe en het injecteren van willekeurige opdrachten. Dit probleem is opgelost in versie 1.36.6.
Origineel (Engels) tonen
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.