Hermes WebUI Terminal API Flaw Enables Unauthenticated Remote Code Execution
Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Jul 10, 2026

Hermes WebUI versions before 0.51.788 contain a critical unauthenticated remote code execution flaw tracked as CVE-2026-58123. The vulnerability stems from missing authentication on embedded terminal API endpoints, allowing a remote attacker to reach privileged functionality without logging in and execute arbitrary shell commands as the server process user. The issue has been classified as CWE-306 and carries high impact across confidentiality, integrity, and availability.
According to the advisory, exploitation requires four sequential unauthenticated HTTP requests: an attacker can create a terminal session, attach a PTY shell, and then send commands through the terminal input endpoint. A fix is available in version 0.51.788, with references pointing to a remediation commit, pull request, and release tag, and organizations running Hermes WebUI are exposed until they upgrade.


