Skip to main content

Bytebot CVE-2026-30631

CRITICAL
OS Command Injection (CWE-78)
2026-07-21 mitre
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Bytebot control API
  2. Delivery
    Send computer_write_file with crafted path
  3. Exploit
    Path injected into OS command context
  4. Execution
    Arbitrary command executes as agent process
  5. Impact
    Full host compromise (C/I/A)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the ability to invoke the Bytebot agent's computer_write_file action with an attacker-controlled path parameter - either the agent's control API is network-reachable (matching AV:N/PR:N) or the attacker can steer the LLM-driven agent into issuing the crafted path. What limits exploitation: the Bytebot API must actually be exposed to the attacker; deployments that keep the agent on localhost only, behind authentication, or on an isolated/trusted network are not remotely exploitable despite the 9.8 score. The condition is specifically the unsanitized path argument to computer_write_file, not a general product misconfiguration.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) describes trivially exploitable, unauthenticated, network-reachable RCE with full confidentiality, integrity, and availability impact. Countervailing signals temper this: EPSS is only 0.17% (7th percentile), there is no CISA KEV listing (no confirmed active exploitation), and the affected product is a niche/emerging open-source project rather than widely deployed enterprise software. The CVSS PR:N/AV:N assumes the Bytebot control API is network-exposed and unauthenticated; in many deployments the agent runs in a sandboxed/local or trusted-network context, which would materially reduce exposure - verify the actual deployment mode before treating this as internet-facing. Net: intrinsically severe (network RCE) but low current exploitation pressure and limited footprint, so prioritize for anyone running Bytebot with an exposed API, but it is not a mass-exploitation emergency for the general population.

Exploit ScenarioDerived

An attacker who can reach the Bytebot agent's control API (directly, or by influencing the AI agent's instructions/prompt so it issues the action) submits a computer_write_file request whose path field embeds shell metacharacters or a command payload. Because the path is not neutralized before reaching an OS command context, the injected command executes with the privileges of the Bytebot agent process, yielding remote code execution. The referenced public gist appears to describe the technique, lowering the barrier to weaponization.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Remote arbitrary code execution in Bytebot (bytebot-ai self-hosted AI desktop agent, commit 3d37894 dated 2025-09-11) allows attackers to run OS commands by supplying a crafted path to the agent's computer_write_file action. The flaw is classed as OS command injection (CWE-78) and carries a CVSS 9.8, but real-world exploitation probability is currently low (EPSS 0.17%, 7th percentile) and it is not on CISA KEV. A public gist referenced by the CVE appears to document the issue and may contain proof-of-concept details, though POC status is not explicitly confirmed in the source data.

RemediationAI

Upstream fix available (commit); a released patched version is not independently confirmed - update Bytebot to a build that includes commit 3d37894ce07ef8d8b40adc7fd309ad96c2a71313 (or later main) which addresses the computer_write_file path handling. Until you can deploy the fixed code, restrict exposure of the Bytebot agent's control API: do not bind it to public/untrusted interfaces, place it behind network ACLs or a firewall so only trusted orchestrators can reach the computer_write_file endpoint, and add authentication/reverse-proxy auth in front of the API if none exists (trade-off: may break any client that assumes an open local API). If file-write functionality is not required for your workflow, disable or gate the computer_write_file action (trade-off: loses agent file-writing capability). Run the agent in a locked-down container/VM with least privilege so a successful injection is contained. Note the referenced commit also bumps Prisma dependencies (@prisma/client 6.6.0→6.16.1), so review the full diff before cherry-picking.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Bytebot is an open-source, self-hosted AI 'computer-use' agent that exposes a control API letting an LLM-driven agent perform desktop actions such as typing, clicking, and file manipulation. One such action, computer_write_file, accepts a file path parameter; per the description a crafted path is passed into an OS-level operation without adequate sanitization, matching CWE-78 (Improper Neutralization of Special Elements used in an OS Command). Rather than treating the path purely as a filesystem argument, attacker-controlled path input reaches a shell/command context, enabling command injection and arbitrary code execution. The CPE data is uninformative (cpe:2.3:a:n/a:n/a - a placeholder), so exact affected-product enumeration relies on the GitHub repository and the referenced fix commit rather than NVD CPE.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated command injection reachable via the agent's network API yields code execution with full host impact, matching AV:N/AC:L/PR:N and C:H/I:H/A:H; assumes the control API is exposed.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 22, 2026 - 18:22 NVD
9.8 (CRITICAL)
CVE Published
Jul 21, 2026 - 00:00 cve.org
CRITICAL 9.8
CVE Published
Jul 21, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical vulnerability in Bytebot (a self-hosted AI desktop agent) allows remote attackers to execute arbitrary commands and compromise affected systems; currently no vendor patch is available. While real-world exploitation probability remains extremely low (0.2% per industry metrics), the absence of a fix means organizations using Bytebot must assume a persistent maximum-impact risk. Immediate action is needed to inventory deployments and implement interim isolation measures.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: network segmentation restricting Bytebot to trusted-network-only operation; disabling or implementing role-based access control on the computer_write_file action; running Bytebot in containerized or virtualized environments with minimal system privileges; implementing comprehensive logging and file integrity monitoring to detect exploitation attempts; and establishing incident response procedures for rapid system isolation if compromise is suspected.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche emerging open-source AI desktop-agent project, limited production deployment
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy