Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
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.
CVE-2026-10144
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-10144
rsbuild
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/web-infra-dev/rsbuild",
"vendor": "web-infra-dev",
"product": "rsbuild",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.0.9",
"versionType": "semver"
}
],
"packageURL": "pkg:github/web-infra-dev/rsbuild",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-10144
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #2357 · Revision 1
- Added to Heist Feed
- Publisher date