HIGH 7.8

CVE-2026-10144

Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.mvnpm.at.rsbuild » corepreliminary
< 2.0.9< bc1c3a56f815487706cac6aeeb95ea251af42294< c1e2aebd6b1bbdaece15265572c3284f934b674d
2.0.9, bc1c3a56f815487706cac6aeeb95ea251af42294, c1e2aebd6b1bbdaece15265572c3284f934b674d

Blast radius

0affected artifacts
0affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.