CVE-2026-10144 Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
Attackers can execute arbitrary OS commands on macOS by supplying crafted URLs to the server.open configuration in Rsbuild.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-10144?
CVE-2026-10144 is a high-severity command injection vulnerability in web-infra-dev rsbuild, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-78
Which versions are affected by CVE-2026-10144?
How do I fix CVE-2026-10144?
No fix has been published for CVE-2026-10144 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-10144 being exploited?
There is no known exploitation of CVE-2026-10144 in the wild and no public exploit code.
Sources
Also known as GHSA-x8vr-98rv-c92v.