CVE-2026-30631 Details
Description
An issue was discovered in bytebot-ai in commit 3d37894ce07ef8d8b40adc7fd309ad96c2a71313 (2025-09-11) allowing attackers to execute arbitrary code via crafted path to `computer_write_file`.
A remote code execution vulnerability has been identified in Bytebot-AI, specifically in the Bytebot MCP tools, within the Docker deployment. This issue arises from improper handling of user-controlled input in the 'computer_write_file' function, allowing attackers to inject malicious paths that are executed as shell commands. The vulnerability is present in the latest commit as of February 8, 2026.
Users are advised to avoid using 'exec()' with shell command strings that incorporate user-controlled input. Instead, use 'execFile()' or 'spawn()' with argument arrays, or utilize native filesystem APIs for file operations. Additionally, remove or limit 'sudo' usage to the least privilege necessary, implement strict validation for the 'path' parameter to reject shell metacharacters and ensure it resolves to an allowlisted base directory, and add regression tests for malicious 'path' inputs.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 21, 2026CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/spdc-elm/1a56d53591a929446a54e50e64de9fc0 | CISA-ADP | ExploitTechnical Description |
| https://gist.github.com/spdc-elm/1a56d53591a929446a54e50e64de9fc0 | [email protected] | ExploitTechnical Description |
| https://github.com/bytebot-ai/bytebot/commit/3d37894ce07ef8d8b40adc7fd309ad96c2a71313 | [email protected] | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| bytebot-ai bytebot | 3d37894ce07ef8d8b40adc7fd309ad96c2a71313 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | [email protected] |
Volerion