{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.0.9"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bc1c3a56f815487706cac6aeeb95ea251af42294"
            },
            {
              "fixed": "c1e2aebd6b1bbdaece15265572c3284f934b674d"
            }
          ],
          "repo": "https://github.com/web-infra-dev/rsbuild",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10144.json"
  },
  "details": "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.",
  "id": "CVE-2026-10144",
  "modified": "2026-09-17T03:30:16.128725362Z",
  "published": "2026-09-15T21:01:07.742Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10144.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-10144"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/web-infra-dev/rsbuild/pull/7789"
    },
    {
      "type": "FIX",
      "url": "https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674d"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/web-infra-dev/rsbuild"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Rsbuild \u003c 2.0.9 Command Injection via openBrowser() URL Handling"
}