Live › vulnerability › CVE-2026-61791
Go to dashboardOCO-Server, a self-hosted endpoint management app, puts a stored computer hostname unsafely into an inline onclick handler on its default command buttons. A crafted hostname can run script in an administrator's logged-in session when that button is clicked.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-23 21:57 UTC. All times on this page are UTC.
Any self-hosted OCO-Server instance before 1.2.1 is exposed, because the default VNC, RDP, SSH and Ping buttons are vulnerable with no custom configuration. Exploitation needs a stored hostname, which an attacker can set through the agent hello handler only if self-registration is on and they hold the shared agent registration key. Instances on 1.2.1 or later, or with no shared agent key in circulation, are not at risk.
No product ranges from the sources yet.
1.2.1agent-self-registration-enabled is set to on in the server settings; unknown if the sources give the setting location1.2.1 or lateragent-self-registration-enabled disabled, the default, until upgradedagent-registration-key if it may have been shared beyond trusted agentsEach row is the first time that source carried this signal. The analyst’s rows are its own findings.
OCO-Server is a self-hosted endpoint management application for computer inventory, software deployment, and mobile device management. Prior to 1.2.1, Html::commandButton() in lib/Html.class.php embeds an action URL containing a stored computer hostname into a JavaScript string in an inline onclick handler, using htmlspecialchars(ENT_QUOTES) only for HTML escaping. Browsers decode the HTML entities before interpreting the handler as JavaScript, allowing a crafted hostname to escape the string and execute script in an administrator's authenticated session when an affected command button is activated. frontend/views/computer-details.php passes $computer->hostname to this helper using Computer::DEFAULT_COMPUTER_COMMANDS in lib/Models/Computer.class.php, whose VNC, RDP, SSH, and Ping entries use new_tab=false and the vulnerable window.location branch. A remote attacker who possesses the shared agent-registration-key can use the oco.agent.hello handler in frontend/api-agent.php to store an unchecked hostname when agent-self-registration-enabled is enabled; self-registration is disabled by default. The vulnerable default command buttons require no custom command configuration. The injected script can abuse the administrator's privileges, including permission to deploy software jobs to managed computers. This issue is fixed in version 1.2.1.
This page as .md · .json · in your agent: get_signal("CVE-2026-61791")
NVD data is provided by NIST and is public domain · EPSS scores by FIRST, used with attribution. Posts quoted belong to their authors.