Skip to main content

Hermes WebUI EUVDEUVD-2026-30109

| CVE-2026-22677 MEDIUM
Path Traversal (CWE-22)
2026-05-13 VulnCheck GHSA-wvw9-5wfm-7729
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege Hermes WebUI credentials
  2. Delivery
    POST crafted session JSON with workspace set to filesystem root '/'
  3. Exploit
    Session persists unrestricted workspace path bypassing resolve_trusted_workspace()
  4. Execution
    Issue GET /api/file request with relative traversal path against poisoned session
  5. Impact
    Receive arbitrary file contents readable by WebUI process

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 low-privilege account on the target Hermes WebUI instance (CVSS PR:L confirmed from vector). The CVSS 4.0 AT:P (Attack Requirements Present) indicates a specific deployment condition gates realistic exploitation: per the vendor's release notes, severity is highest on instances bound to 0.0.0.0 or exposed on a LAN with password authentication - these are the conditions under which PR:L applies to network-reachable attackers. Pure localhost deployments limit the attacker population to local OS users. Exploitation is further constrained to files readable by the OS user account under which the WebUI process runs - root-owned files with restricted permissions (e.g., /etc/shadow) may not be accessible depending on WebUI service account privileges. There is no write or availability impact, so the attack is read-only. No special application-level role beyond basic authentication is required; the vulnerability does not depend on any optional feature toggle or non-default configuration beyond network exposure.

Impact

CVSS 4.0 scores this at 6.0 with network attack vector (AV:N), low complexity (AC:L), and low privileges required (PR:L), with a High confidentiality impact on the vulnerable component (VC:H) and no integrity or availability impact (VI:N, VA:N). The AT:P (Attack Requirements Present) modifier reflects that exploitation is not universally achievable across all configurations - reducing the score from what a pure AV:N/AC:L/PR:L profile would otherwise yield. Corroborating signals reinforce the moderate-to-low urgency: EPSS is 0.04% at the 12th percentile, SSVC rates exploitation as none and automatable as no with only partial technical impact, and there is no CISA KEV listing. No public exploit code has been identified at time of analysis. The realistic risk is concentrated on Hermes WebUI deployments exposed to untrusted networks or LANs where low-privileged user accounts exist - the vulnerability cannot be exploited unauthenticated. For localhost-only or single-user deployments, practical risk is materially lower. The absence of write or availability impact (VI:N, VA:N) means this is a confidentiality-only issue, though arbitrary file read against a WebUI process with broad filesystem access could expose credentials, private keys, or configuration secrets.

Exploit ScenarioDerived

An attacker with any valid Hermes WebUI account (low-privilege suffices) calls POST /api/session/import with a JSON payload containing 'workspace': '/' - bypassing all boundary validation and persisting the filesystem root as the session's workspace. The attacker then calls GET /api/file?session_id=<sid>&path=etc/passwd (or any other sensitive path such as .env files, SSH private keys, or application secrets), receiving the file contents served directly by the WebUI process. No public exploit code has been identified at time of analysis, but the exploit mechanism is explicit in the vendor's own release notes for v0.51.44, making independent reproduction trivial for any authenticated user.

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 08, 2026

Path traversal in Hermes WebUI's session import endpoint allows authenticated low-privileged attackers to read arbitrary files accessible to the WebUI process. By importing a crafted session JSON with an unrestricted workspace value such as '/', an attacker bypasses the workspace boundary controls that govern every other workspace-bearing endpoint, then leverages the file API to exfiltrate any file readable by the WebUI process user. No active exploitation is confirmed (absent from CISA KEV), EPSS sits at 0.04% in the 12th percentile, and SSVC rates exploitation as none - but the CVSS 4.0 confidentiality impact is rated High, making this a meaningful risk for network-exposed deployments with authenticated user populations.

RemediationAI

Upgrade Hermes WebUI to version 0.51.44 (Release T) or later, which applies workspace validation via resolve_trusted_workspace() to the session import endpoint, closing the path traversal gap - the fix is in commit f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3 and the release is available at https://github.com/nesquena/hermes-webui/releases/tag/v0.51.44. If immediate upgrade is not feasible, block or restrict the POST /api/session/import endpoint at the reverse proxy or WAF layer to prevent crafted imports - note this disables legitimate session import functionality as a trade-off. Additionally, avoid binding the WebUI to 0.0.0.0 on untrusted networks; restrict binding to localhost (127.0.0.1) or a trusted interface to reduce the PR:L attack surface to local accounts only. Audit existing sessions in the database for unexpected workspace values set to filesystem roots such as '/' or '/etc' as an indicator of prior exploitation.

Affected VersionsENISA

hermes-webui patch: f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3
hermes-webui 0 <0.51.44

Affected Packages

euvd hermes_webui fix: 0.51.44

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

The vulnerable component is Hermes WebUI by nesquena (CPE: cpe:2.3:a:nesquena:hermes-webui:*:*:*:*:*:*:*:*), a web-based AI assistant interface. The root cause is CWE-22 (Path Traversal): the POST /api/session/import endpoint read the 'workspace' field directly from attacker-supplied JSON without passing it through resolve_trusted_workspace() - the sanitization function already applied to all other workspace-bearing API endpoints. This omission allowed an arbitrary filesystem path (e.g., '/') to be persisted on the Session object. Once stored, the /api/file endpoint, which constructs file paths by joining the session's workspace with caller-supplied relative paths, would resolve traversal sequences against the attacker-controlled root rather than a restricted workspace directory. The CVSS 4.0 AT:P (Attack Requirements Present) component confirms that specific deployment conditions - particularly instances bound to 0.0.0.0 or LAN-exposed with password authentication - elevate exposure, consistent with the vendor's own severity characterization in the release notes.

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

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/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
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 13, 2026 - 19:22 NVD
6.5 (MEDIUM) 6.0 (MEDIUM)

DescriptionCVE.org

Hermes WebUI prior to 0.51.44 - Release T contains a path traversal vulnerability in the session import endpoint that allows authenticated attackers to read arbitrary files by importing a crafted session with an unrestricted workspace value. Attackers can supply a blocked filesystem root in the workspace field and subsequently use relative paths in the session file API to access any file readable by the WebUI process.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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.

CVE-2026-58123 CRITICAL POC
9.3 Jul 09

Unauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell

CVE-2026-6832 HIGH POC
7.2 Apr 21

Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent

CVE-2026-58122 CRITICAL
9.3 Jul 09

Authentication bypass in Hermes WebUI before 0.51.307 lets unauthenticated remote attackers reach onboarding endpoints t

CVE-2026-55196 CRITICAL
9.1 Jun 17

Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass

CVE-2026-49973 CRITICAL
9.2 Jun 11

Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin

CVE-2026-53871 HIGH
8.6 Jun 17

Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,

CVE-2026-55198 HIGH
7.1 Jun 17

Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra

CVE-2026-55197 HIGH
7.1 Jun 17

Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans

CVE-2026-11322 HIGH
7.1 Jun 04

Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou

CVE-2026-49956 HIGH
7.1 Jun 09

Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran

CVE-2026-55205 MEDIUM
6.9 Jun 18

Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint

CVE-2026-49955 MEDIUM
6.9 Jun 09

Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi

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