Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @siteboon/claude-code-ui
  4. ›
  5. CVE-2026-31861

CVE-2026-31861: @siteboon/claude-code-ui is Vulnerable to Shell Command Injection in Git Routes

March 10, 2026 (updated March 11, 2026)

The /api/user/git-config endpoint constructs shell commands by interpolating user-supplied gitName and gitEmail values into command strings passed to child_process.exec(). The input is placed within double quotes and only " is escaped, but backticks (`), $() command substitution, and \ sequences are all interpreted within double-quoted strings in bash.

This allows authenticated attackers to execute arbitrary OS commands via the git configuration endpoint.

References

  • github.com/advisories/GHSA-7fv4-fmmc-86g2
  • github.com/siteboon/claudecodeui
  • github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04
  • github.com/siteboon/claudecodeui/releases/tag/v1.24.0
  • github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2
  • nvd.nist.gov/vuln/detail/CVE-2026-31861

Code Behaviors & Features

Detect and mitigate CVE-2026-31861 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.24.0

Fixed versions

  • 1.24.0

Solution

Upgrade to version 1.24.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@siteboon/claude-code-ui/CVE-2026-31861.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:41 +0000.