CVE-2026-58123: Hermes WebUI < 0.51.788 Unauthenticated RCE via Terminal API
Hermes WebUI before 0.51.788 contains an unauthenticated remote code execution vulnerability that allows remote attackers to execute arbitrary shell commands by accessing the embedded terminal API endpoints without credentials. Attackers can create a session, attach a PTY shell, and write arbitrary commands through the terminal input endpoint to achieve full command execution as the server process user via four sequential unauthenticated HTTP requests.
Security readout for executives and security teams
Plain-English summary
Hermes WebUI before 0.51.788 lets remote attackers use terminal API endpoints without logging in. If the WebUI is reachable, an attacker could run shell commands as the server process user, creating serious risk to the host, data, and service availability.
Executive priority
Prioritize immediate remediation for any exposed Hermes WebUI deployment. This is a critical unauthenticated remote command execution issue, so a reachable vulnerable instance can become a full server compromise path.
Technical view
The vulnerability is CWE-306: missing authentication for embedded terminal API endpoints. The CVSS 3.1 score is 9.8, with network access, low complexity, no privileges, and no user interaction. Sources describe arbitrary shell command execution through unauthenticated terminal session, PTY attachment, and input requests.
Likely exposure
Exposure is likely limited to organizations running nesquena/hermes-webui versions before 0.51.788. Highest risk applies where the WebUI is Internet-accessible or reachable from untrusted networks. The source bundle does not provide CPEs or broader product-family impact.
Exploitation context
The advisory describes unauthenticated RCE using four sequential HTTP requests to terminal API endpoints. KEV is false, and the provided sources do not cite active exploitation. The bug is still urgent because exploitation requires network reachability and no credentials.
Researcher notes
Evidence supports missing authentication on terminal API functionality before 0.51.788. The source bundle names the fixed release, pull request, patch commit, and third-party advisory, but does not provide confirmed exploitation, CPE coverage, or environment-specific blast-radius details.
Mitigation direction
Upgrade Hermes WebUI to v0.51.788 or later using vendor release guidance.
Restrict WebUI access to trusted networks until the upgrade is verified.
Block unauthenticated access paths to terminal API endpoints where feasible.
Review host logs for unexpected terminal sessions or shell activity.
Monitor vendor and VulnCheck advisories for follow-up guidance.
Validation and detection
Inventory Hermes WebUI deployments and record running versions.
Treat any version before 0.51.788 as vulnerable.
Confirm v0.51.788 or the referenced patch commit is deployed.
Check whether WebUI is reachable from the Internet or untrusted networks.
Review access logs for unexpected terminal API requests.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-306: Credential and account abuse lookup
Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-306 · source CWE mapping
Missing Authentication for Critical Function
Missing Authentication for Critical Function represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.