CVE-2026-48723: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in browserstack browserstack-cypress-cli
CVE-2026-48723 is a high-severity OS command injection vulnerability in BrowserStack's browserstack-cypress-cli. Versions prior to 1.36.6 allow an attacker to inject arbitrary OS commands via the cypress_config_file parameter due to improper sanitization of shell metacharacters. This occurs because the loadJsFile() function executes a shell command constructed with user input without proper neutralization. The issue is fixed in version 1.36.6.
AI Analysis
Technical Summary
The browserstack-cypress-cli before version 1.36.6 is vulnerable to OS command injection through the cypress_config_file configuration parameter. The vulnerability arises in the loadJsFile() function in readCypressConfigUtil.js, which constructs a shell command by interpolating the user-controlled cypress_config_filepath into a template literal and executes it using child_process.execSync(). This allows shell metacharacters such as double quotes and semicolons to break out of the intended argument context and inject arbitrary commands. This flaw is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The vulnerability has been addressed in version 1.36.6.
Potential Impact
Successful exploitation allows an attacker with local access to execute arbitrary OS commands with the privileges of the user running the CLI. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The CVSS v3.1 base score is 7.8 (High), reflecting the potential for high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade browserstack-cypress-cli to version 1.36.6 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in 1.36.6.
CVE-2026-48723: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in browserstack browserstack-cypress-cli
Description
CVE-2026-48723 is a high-severity OS command injection vulnerability in BrowserStack's browserstack-cypress-cli. Versions prior to 1.36.6 allow an attacker to inject arbitrary OS commands via the cypress_config_file parameter due to improper sanitization of shell metacharacters. This occurs because the loadJsFile() function executes a shell command constructed with user input without proper neutralization. The issue is fixed in version 1.36.6.
CVSS v3.1
Score 7.8high
Affected software
pkg:npm/browserstack/browserstack-cypress-cliRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The browserstack-cypress-cli before version 1.36.6 is vulnerable to OS command injection through the cypress_config_file configuration parameter. The vulnerability arises in the loadJsFile() function in readCypressConfigUtil.js, which constructs a shell command by interpolating the user-controlled cypress_config_filepath into a template literal and executes it using child_process.execSync(). This allows shell metacharacters such as double quotes and semicolons to break out of the intended argument context and inject arbitrary commands. This flaw is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The vulnerability has been addressed in version 1.36.6.
Potential Impact
Successful exploitation allows an attacker with local access to execute arbitrary OS commands with the privileges of the user running the CLI. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The CVSS v3.1 base score is 7.8 (High), reflecting the potential for high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade browserstack-cypress-cli to version 1.36.6 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in 1.36.6.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T18:47:27.756Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3087830b89be6888b6e9ae
Added to database: 06/15/2026, 23:15:15 UTC
Last enriched: 06/23/2026, 15:32:10 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.