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`.
Published: 2026-07-21
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 04 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Title Untrusted File Path Allows Remote Code Execution in bytebot-ai

Thu, 30 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Title Untrusted File Path Allows Remote Code Execution in bytebot-ai

Wed, 29 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
Title Arbitrary Code Execution via Crafted Path in bytebot-ai's computer_write_file

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Bytebot-ai
Bytebot-ai bytebot
Vendors & Products Bytebot-ai
Bytebot-ai bytebot

Fri, 24 Jul 2026 05:00:00 +0000

Type Values Removed Values Added
Title Arbitrary Code Execution via Crafted Path in bytebot-ai's computer_write_file

Wed, 22 Jul 2026 18:30:00 +0000

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'}


Tue, 21 Jul 2026 20:45:00 +0000

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

Subscriptions

Bytebot-ai Bytebot
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-22T17:38:54.733Z

Reserved: 2026-03-04T00:00:00.000Z

Link: CVE-2026-30631

cve-icon Vulnrichment

Updated: 2026-07-22T17:38:24.093Z

cve-icon NVD

Status : Deferred

Published: 2026-07-21T21:16:49.370

Modified: 2026-07-22T20:50:36.493

Link: CVE-2026-30631

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:00:14Z

Weaknesses
  • CWE-78

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