Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Hermes WebUI over network
-
DeliverySend unauthenticated session-create request
-
ExploitAttach PTY shell via API
-
ExecutionWrite shell commands to input endpoint
-
ImpactExecute code as server process user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the Hermes WebUI HTTP service and access to its embedded terminal API endpoints (the session-create, PTY-attach, and terminal-input endpoints); no credentials, tokens, or user interaction are needed, matching AV:N/AC:L/PR:N/UI:N. The concrete prerequisite is that the vulnerable embedded terminal feature is present and network-accessible, which it is by default in versions before 0.51.788. Limiting factors that reduce realistic risk are purely environmental rather than authentication-based: the instance must be reachable by the attacker (internet-facing instances are fully exposed, while instances restricted to a trusted internal network or behind an authenticating reverse proxy are much harder to reach), and the running version must be earlier than 0.51.788. |
| Impact | All available signals point to genuine high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity exploitation with no privileges, no attack requirements, and no user interaction, and high impact to confidentiality, integrity, and availability of the vulnerable system (VC:H/VI:H/VA:H); subsequent-system impact is none (SC/SI/SA:N), so there is no scope change beyond the host. This aligns cleanly with the description of a four-request unauthenticated RCE, so signals are consistent rather than conflicting. EPSS and CISA KEV status were not provided in the input, so real-world exploitation frequency is unknown; there is no public exploit identified at time of analysis, meaning the elevated risk is driven by the trivial exploitability and full technical impact rather than by confirmed active exploitation. The main mitigating factor for any given organization is exposure: the affected product appears to be a niche project, so aggregate risk depends heavily on whether an instance is network-reachable, especially internet-facing. |
| Exploit ScenarioDerived | An attacker who can reach a Hermes WebUI instance over the network sends an unauthenticated request to create a terminal session, a second to attach a PTY shell, and then writes shell commands to the terminal input endpoint, gaining command execution as the web server process user. Because no credentials, user interaction, or elevated privileges are needed and complexity is low, an internet-exposed instance could be compromised by a simple automated script; no public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Unauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell commands by reaching the product's embedded terminal API without any credentials. Because of a missing authentication check (CWE-306), an attacker chains four sequential unauthenticated HTTP requests to create a session, attach a PTY shell, and inject commands, executing code as the server process user. Reported by VulnCheck with a CVSS 4.0 base score of 9.3; a vendor patch is available and no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: v0.51.788 - upgrade Hermes WebUI to 0.51.788 or later, which is the primary and authoritative fix (release: https://github.com/nesquena/hermes-webui/releases/tag/v0.51.788, patch commit d257e5f36cfa9328600c8bde6f0de09a6ad9b6f4, PR 5268). Until the upgrade is applied, remove any internet exposure by placing the WebUI behind a VPN or firewall and restricting network access to the terminal API endpoints to trusted management hosts only; if the embedded terminal feature is not required, disable it or block the terminal session/attach/input endpoints at a reverse proxy, and add an authenticating proxy (for example enforcing HTTP auth or SSO in front of the application) so that unauthenticated requests cannot reach the PTY endpoints. The trade-off of these controls is loss of remote terminal convenience and added proxy/network complexity, and they do not fully remediate the missing-authentication root cause, so treat them only as interim measures pending the upgrade. Refer to the VulnCheck advisory at https://www.vulncheck.com/advisories/hermes-webui-unauthenticated-rce-via-terminal-api for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hermes WebUI (GitHub project nesquena/hermes-webui, per CPE cpe:2.3:a:nesquena:hermes-webui) exposes a browser-based interface that includes an embedded terminal feature backed by a pseudo-terminal (PTY) shell. The vulnerability is a CWE-306 Missing Authentication for a Critical Function: the terminal API endpoints that create sessions, attach a PTY, and accept terminal input do not enforce any authentication or authorization. Because the PTY writes attacker-supplied input directly to an interactive shell, arbitrary command input on the input endpoint is executed by the operating system shell running under the web server's process identity, turning an unauthenticated web request into direct OS command execution.
Know when Hermes Webui 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
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
Missing authentication on network terminal endpoints gives unauthenticated low-complexity RCE (AV:N/AC:L/PR:N/UI:N); full OS command execution yields C:H/I:H/A:H, no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Hermes WebUI versions prior to 0.51.788 contain a critical unauthenticated remote code execution vulnerability (CVE-2026-58123, CVSS 9.3) that permits attackers to execute arbitrary shell commands without providing credentials. Exploitation requires no authentication and executes with the privileges of the web server process, creating risk of complete system compromise. Organizations operating vulnerable versions require immediate patch deployment to prevent direct remote takeover.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Hermes Webui
View allArbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent
Authentication bypass in Hermes WebUI before 0.51.307 lets unauthenticated remote attackers reach onboarding endpoints t
Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass
Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin
Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,
Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra
Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans
Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou
Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran
Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint
Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi
Cross-profile workspace isolation bypass in Hermes WebUI before 0.51.521 allows an authenticated low-privilege user oper
EUVD-2026-42722
GHSA-ph29-g65g-m574
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB