Skip to main content

CVE-2026-10144: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in web-infra-dev rsbuild

0
High
VulnerabilityCVE-2026-10144cvecve-2026-10144
Published: 09/15/2026 (09/15/2026, 21:01:07 UTC)
Source: CVE Database V5
Vendor/Project: web-infra-dev
Product: rsbuild

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.

CVSS v4.0

Score 7.1high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

web-infra-dev

rsbuild

Affected versions
>=0 <2.0.9
GitHub Actionsmore threats →cve
rsbuild
pkg:github/rsbuild
Affected versions
>=0 <2.0.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 21:46:34 UTC

Technical Analysis

The vulnerability exists in the openBrowser() function of rsbuild (web-infra-dev project) prior to version 2.0.9. This function uses encodeURI() on a URL before embedding it into a shell command executed by child_process.exec(). However, encodeURI() does not encode shell metacharacters such as $, (), and ;, which are evaluated by /bin/sh. This improper neutralization of special elements leads to OS command injection, enabling attackers to execute arbitrary commands on the affected system when supplying a crafted URL to the server.open configuration on macOS.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the rsbuild process on macOS. This can lead to system compromise, data theft, or further attacks depending on the privileges of the process. The CVSS 4.0 score is 7.1 (high), reflecting the potential for significant impact with low attack complexity but requiring user interaction.

Mitigation Recommendations

A fix is available in rsbuild version 2.0.9 and later. Users should upgrade to version 2.0.9 or above to remediate this vulnerability. Until patched, avoid exposing the vulnerable functionality to untrusted input or untrusted users. Patch status is confirmed by the affectedVersions field indicating versions before 2.0.9 are vulnerable.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-29T22:17:43.223Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa9b95555bf5e2cf56789e6

Added to database: 09/15/2026, 21:32:05 UTC

Last enriched: 09/15/2026, 21:46:34 UTC

Last updated: 09/15/2026, 22:11:28 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses