What’s Vulnerable › Vulnerabilities
CVE-2026-10144: Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-15 · updated 2026-09-23
- Weakness: CWE-78
Description
Rsbuild before 2.0.9 contains a command injection vulnerability that allows attackers to execute arbitrary OS commands by supplying a crafted URL containing shell metacharacters to the server.open configuration on macOS. The openBrowser() function in packages/core/src/server/open.ts passes the URL through encodeURI() before interpolating it into a shell command executed via child_process.exec(), but because encodeURI() does not encode dollar signs, parentheses, or semicolons, embedded shell metacharacters are evaluated by /bin/sh, enabling arbitrary command execution.
Affected products
- web-infra-dev rsbuild: before 2.0.9 — fixed in 2.0.9
How to fix
Upgrade to a fixed version: web-infra-dev rsbuild 2.0.9. Check the vendor advisory for mitigations.
References
- https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d
- https://github.com/web-infra-dev/rsbuild/pull/7789
- https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9
- https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling
Get alerted when CVE-2026-10144 or the next vulnerability affects your stack