CVE-2026-30631

Published Jul 21, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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`.

Analysis

AI-generated

Technical impact

The vulnerability in bytebot‑ai arises from insufficient validation of file path parameters used by the computer_write_file function. By sending a specially crafted path, an attacker can cause the system to execute arbitrary code, leading to remote code execution. This flaw is an instance of OS command injection (CWE‑78).

Affected Systems

Affected systems include any installations of bytebot‑ai that contain commit 3d37894ce07ef8d8b40adc7fd309ad96c2a71313 or earlier. The issue exists in the code base prior to any later corrective commit, so all versions built from that commit are vulnerable until the path handling is properly sanitized. The product is maintained under the bytebot‑ai repository on GitHub, and the vulnerability was identified in a commit dated 2025‑09‑11.

Risk and Exploitability

The risk assessment reflects a CVSS score of 9.8, indicating critical severity, while the EPSS score is less than 1 %, suggesting a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to deliver a crafted path string to the vulnerable function, likely through an exposed API or command interface, which implies that systems with publicly reachable endpoints are at greatest risk. Immediate patching or mitigation is advised to prevent potential remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a patched version of bytebot‑ai that removes the vulnerable path handling.
  • Manually update the computer_write_file function to sanitize input paths.
  • Restrict access to the computer_write_file functionality to authenticated and authorized users only, reducing the exposure surface.
  • Implement input validation and whitelisting to ensure only safe file paths are accepted before the write operation.

Generated by OpenCVE AI on August 4, 2026 at 17:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Untrusted File Path Allows Remote Code Execution in bytebot-ai
Type Values Removed Values Added
Title Untrusted File Path Allows Remote Code Execution in bytebot-ai
Type Values Removed Values Added
Title Arbitrary Code Execution via Crafted Path in bytebot-ai's computer_write_file
Type Values Removed Values Added
First Time appeared Bytebot-ai
Bytebot-ai bytebot
Vendors & Products Bytebot-ai
Bytebot-ai bytebot
Type Values Removed Values Added
Title Arbitrary Code Execution via Crafted Path in bytebot-ai's computer_write_file
Type Values Removed Values Added
Weaknesses CWE-78
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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`.
References
Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 22, 2026, 5:38 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Deferred
Published
Jul 21, 2026, 9:16 PM
Modified
Jul 22, 2026, 8:50 PM