CVE-2026-31862: Command Injection Vulnerability in @siteboon/claude-code-ui

@siteboon/claudecodeui Updated 13 Mar 2026

Summary

11/03/2026
Yes i
Critical
9.1

CVE-2026-31862: @siteboon/claude-code-ui is Vulnerable to Command Injection via Multiple Parameters. Affects @siteboon/claudecodeui versions < 1.24.0. Fixed in 1.24.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @siteboon/claude-code-ui package provides Git integration through various API endpoints, allowing users to perform Git operations such as committing changes, checking out branches, and viewing diffs. This package is designed for developers who require seamless interaction with Git repositories within their applications. However, it is vulnerable to command injection due to improper handling of user-controlled parameters, which can lead to severe security risks.

Vulnerability Detail

The vulnerability arises from multiple Git-related API endpoints that utilize execAsync() with string interpolation of user-controlled parameters such as file paths, branch names, commit messages, and commit hashes. This allows authenticated attackers to execute arbitrary OS commands, leading to remote code execution, full server compromise, data exfiltration, and potential supply chain attacks. The application attempts to escape certain characters but fails to adequately protect against various shell metacharacters, making it easy for attackers to bypass these defenses.

How To Fix

Minimum fixed version

1.24.0

This is the first release that contains the fix.

npm install @siteboon/claudecodeui@1.24.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the affected API endpoints until the package is updated. Additionally, ensure that user inputs are sanitized and validated before being processed by the application.

Conclusion

The @siteboon/claude-code-ui package is vulnerable to command injection, which poses significant security risks. It is crucial to update to the patched version 1.24.0 or later to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for @siteboon/claudecodeui →

Share this vulnerability

FAQ

CVE-2026-31862 is a critical command injection vulnerability found in the @siteboon/claude-code-ui package, allowing attackers to execute arbitrary OS commands.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to test your application without signing up.

The potential impacts include remote code execution, full server compromise, data exfiltration, and supply chain attacks, which can lead to significant security breaches.

You can update the package by running the command: npm install @siteboon/claude-code-ui@1.24.0 in your terminal.

If immediate updates are not possible, consider implementing input validation and sanitization as a temporary measure to mitigate the risk of command injection.

How To Fix

Minimum fixed version

1.24.0

This is the first release that contains the fix.

npm install @siteboon/claudecodeui@1.24.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback