ZeroHour

CVE-2026-86121

niche

Unauthenticated command execution and file access in Cua computer-server

CVSS 4.0
9.3 critical
EPSS
<1%p46
Published
()
Modified
AI analysis

Cua computer-server versions before 0.3.42 skip authentication entirely (CWE-306, missing authentication for a critical function) when the CONTAINER_NAME environment variable is unset, and the server binds to all network interfaces by default, yielding a critical 9.3 CVSS 4.0 score (network attack vector, no privileges or user interaction required). An unauthenticated attacker who can reach TCP port 8000 can invoke the run_command endpoint to execute arbitrary shell commands, read and write arbitrary files via the file-operation endpoints, and open interactive PTY shells, effectively giving full control of the host at the server's privilege level. Only deployments that run without CONTAINER_NAME set (for example bare-metal or ad hoc launches) are exposed this way, because containerized deployments that set the variable enforce authentication normally; affected operators are those running an affected version with port 8000 reachable from an untrusted network. There is no confirmed exploitation in the wild, no public proof-of-concept, the flaw is not in CISA's KEV, and EPSS estimates roughly a 0.6% probability of exploitation within 30 days.

What to do: Upgrade computer-server to 0.3.42 or later. As an interim mitigation, explicitly set the CONTAINER_NAME environment variable to restore authentication and restrict or firewall TCP port 8000, for example by binding the server to localhost. Audit any exposed instance for signs of compromise such as unexpected commands, unexplained PTY sessions, or modified files.

Affected
Cua computer-serverall versions before 0.3.42 (< 0.3.42)
Estimated exposure
nichelikely hundreds to a few thousand network-exposed instances; exact count unknown — Cua is a niche open-source computer-use agent framework with no public install metrics, typically run by individual developers locally or in Docker, and only instances with CONTAINER_NAME unset and TCP port 8000 reachable from untrusted…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Cua computer-server versions before 0.3.42 skip authentication when the CONTAINER_NAME environment variable is unset and bind to all interfaces by default, allowing unauthenticated attackers to execute arbitrary commands. Attackers can reach TCP port 8000 to run shell commands via the run_command endpoint, read and write arbitrary files through file operation endpoints, and access interactive PTY shells without authentication.

Weakness
CWE-306
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.