Vulnerability · Published Sep 15, 2026 · Assigned by VulnCheck
CVE-2026-10144Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
High 7.8
In plain English
A high-severity OS command injection in rsbuild from web-infra-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| web-infra-dev | rsbuild | 0 – before 2.0.9 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Rsbuild v2.0.9 Release Notes release-notes
- Pull Request issue-tracking, patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling third-party-advisory