Skip to main content

Hermes WebUI EUVDEUVD-2026-35704

| CVE-2026-49957 MEDIUM
Path Traversal (CWE-22)
2026-06-09 disclosure@vulncheck.com GHSA-5cwx-phm8-m83r
6.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege account
  2. Delivery
    Configure remote terminal profile with /etc as target cwd
  3. Exploit
    Trigger workspace resolution via API call
  4. Execution
    Early return accepts /etc as trusted local workspace root
  5. Persist
    Invoke workspace file-read helper against resolved path
  6. Impact
    Exfiltrate sensitive host system files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid Hermes WebUI account with at least low-level privilege (confirmed by CVSS PR:L). The attacker must be able to configure a remote terminal profile - specifically, set the SSH profile's target working directory (cwd) to an arbitrary path such as /etc. The SSH/remote terminal backend feature must be enabled and accessible to the attacker's account role. No victim interaction is required after profile configuration (CVSS UI:N). The impact is limited to reading files accessible to the Hermes WebUI server process (SC:H); write access and availability impact are not indicated (SI:N, SA:N). Exploitation is constrained by: (1) the requirement for a valid authenticated account, (2) the need for permission to configure remote terminal profiles, and (3) file-read scope bounded by the OS-level permissions of the Hermes WebUI process. Deployments that restrict remote terminal profile management to administrator roles, or that run Hermes WebUI as a minimally-privileged OS user, substantially limit exploitability.

Impact

The CVSS 4.0 base score of 6.3 reflects a moderate-severity finding with an outsized subsequent-system confidentiality impact (SC:H). The vulnerable component itself reports no direct confidentiality, integrity, or availability impact (VC:N/VI:N/VA:N), but the downstream exposure - reading arbitrary files on the Hermes WebUI host server - is classified high. The attack vector is network (AV:N), complexity is low (AC:L), no additional attack requirements exist (AT:N), and no user interaction is needed (UI:N); the sole friction is a required low-privilege account (PR:L). This combination makes exploitation straightforward for any authenticated user, a relevant threat in shared or multi-tenant deployments. No EPSS score was provided in the available data, so probabilistic exploitation likelihood cannot be quantified. KEV status is not confirmed, and no public exploit has been identified at time of analysis. The realistic priority level is medium-high for deployments where the SSH/remote terminal feature is accessible to non-administrator users: the attack is low-complexity, requires no victim interaction, and yields host file disclosure. Deployments where remote terminal profiles are restricted to administrators face substantially lower risk.

Exploit ScenarioDerived

An attacker with a low-privilege Hermes WebUI account navigates to remote terminal profile configuration and sets the SSH profile's target working directory to /etc. When workspace resolution is triggered via the API, _remote_terminal_workspace_candidate() resolves and returns /etc as a trusted local workspace root before the blocked-root guard runs, allowing the attacker to invoke workspace file-read helpers to retrieve the contents of host files such as /etc/passwd, /etc/ssh/sshd_config, or application secrets stored under system directories. No public exploit code has been identified at time of analysis, but the attack requires only a valid account and knowledge of the profile configuration interface.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Hermes WebUI's SSH/remote terminal workspace resolver exposes local server files to authenticated low-privilege attackers by accepting system directories as trusted workspace roots. The flaw in _remote_terminal_workspace_candidate() (api/workspace.py) causes an early return that bypasses the _is_blocked_workspace_path() guard, allowing an attacker-configured remote terminal working directory (e.g., /etc) to be registered as a trusted workspace - after which workspace file-read helpers treat it as a local path and return host file contents. No public exploit has been identified at time of analysis, but the CVSS 4.0 vector scores SC:H (high subsequent-system confidentiality impact), confirming meaningful server-side file disclosure potential.

RemediationAI

Upgrade Hermes WebUI to at least the version identified as fixed: the CVE advisory references v0.51.269 (https://github.com/nesquena/hermes-webui/releases/tag/v0.51.269), while the CHANGELOG in the upstream fix commit attributes the security change to v0.51.296 (2026-06-06). Given this discrepancy, administrators should upgrade to v0.51.296 or later to be certain the fix from commit 91a89fb5d5c0bf87932917f9914ad0150ea62fe4 and PR #3731 is included, then verify the fix is present by confirming _remote_terminal_workspace_candidate() in api/workspace.py invokes _is_blocked_workspace_path() before any early return. As a compensating control where immediate patching is not feasible, restrict SSH/remote terminal profile configuration to administrator-only roles - this removes the ability for low-privilege users to set arbitrary cwd values and eliminates the attack surface; the trade-off is that legitimate non-admin users lose self-serve remote terminal profile access. Additionally, restricting network access to the Hermes WebUI interface to trusted users reduces exposure but does not eliminate risk if any authenticated user is untrusted. The VulnCheck advisory is available at https://www.vulncheck.com/advisories/hermes-webui-workspace-boundary-bypass-via-api-workspace-py.

Affected VersionsENISA

hermes-webui 0 <0.51.296

Affected Packages

euvd hermes_webui fix: 0.51.296

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 (nesquena/hermes-webui) is a web-based interface that includes an SSH/remote terminal integration allowing users to configure remote terminal profiles with custom working directories. Workspace resolution for these profiles is handled by _remote_terminal_workspace_candidate() in api/workspace.py. Under the vulnerable logic, candidate resolution for the remote cwd path executed an early return before invoking _is_blocked_workspace_path(), which is responsible for rejecting system directory roots such as /etc. Because the path was accepted as a trusted local workspace root prematurely, downstream file-read helpers - designed for safe workspace file access - would faithfully read from the resolved system path on the server. The root cause class is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): user-controlled input (the SSH profile cwd) influences server-side path resolution without adequate pre-acceptance validation. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates this is network-accessible with low complexity, requiring no special attack prerequisites beyond a low-privileged account. The fix (commit 91a89fb5d5c0bf87932917f9914ad0150ea62fe4, PR #3731) adds if _is_blocked_workspace_path(candidate, raw) or _is_blocked_workspace_path(base, cwd): return None immediately within _remote_terminal_workspace_candidate(), ensuring the guard runs for both the derived candidate and the raw base path before any early return.

Know when the next one hits your stack

  • 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

Vendor (vulncheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 09, 2026 - 19:03 EUVD

DescriptionCVE.org

Hermes WebUI before version 0.51.269 contains a workspace boundary bypass vulnerability that allows authenticated attackers to circumvent blocked-root path checks by exploiting an early return in the SSH/remote terminal profile workspace resolution logic within _remote_terminal_workspace_candidate(). Attackers can configure a remote terminal working directory to a system directory such as /etc, causing the workspace resolution path to accept it as a trusted local workspace root before the _is_blocked_workspace_path() guard executes, enabling read access to local system files through workspace file-read helpers.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy