Hermes WebUI prior to 0.51.44 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.
Security readout for executives and security teams
Plain-English summary
Hermes WebUI before 0.51.44 can let a logged-in attacker read files the WebUI process can access. This is mainly a confidentiality risk: secrets, configuration files, tokens, or local data may be exposed if the service runs with broad filesystem access.
Executive priority
Prioritize remediation in environments where Hermes WebUI is shared, internet-accessible, or runs near secrets. The issue is not described as actively exploited, but successful abuse can expose sensitive files.
Technical view
The issue is a CWE-22 path traversal in the session import endpoint. An authenticated attacker can import a crafted session with an unrestricted workspace value, then use relative paths through the session file API to read arbitrary files readable by the WebUI process.
Likely exposure
Exposure is limited to organizations running nesquena/hermes-webui versions before 0.51.44, especially where untrusted users can authenticate or where the WebUI process can read sensitive local files.
Exploitation context
The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires authentication, low complexity, and no user interaction, with high confidentiality impact and no stated integrity or availability impact.
Researcher notes
Evidence supports an authenticated arbitrary file read via path traversal in session import and later session file API access. The provided sources identify 0.51.44 as the fixed release. No exploit code, KEV status, or broader affected product claims are provided.
Mitigation direction
Upgrade Hermes WebUI to version 0.51.44 or later.
Review the vendor release, pull request, and patch notes before deployment.
Restrict Hermes WebUI access to trusted users and networks.
Run the WebUI process with least-privilege filesystem permissions.
Review logs for unusual session imports or file access patterns.
Validation and detection
Inventory all Hermes WebUI deployments and record their versions.
Confirm no production instance is running earlier than 0.51.44.
Verify WebUI service accounts cannot read unnecessary sensitive files.
Review authentication scope for users allowed to import sessions.
Check monitoring for anomalous session import activity.
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-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. 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 file access or upload behavior, so file telemetry and web shell review may help. 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.
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-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.