Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-49957: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui

0
Medium
VulnerabilityCVE-2026-49957cvecve-2026-49957
Published: 06/09/2026 (06/09/2026, 16:25:10 UTC)
Source: CVE Database V5
Vendor/Project: nesquena
Product: hermes-webui

Description

Hermes WebUI before version 0.51.296 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.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
nesquena/hermes-webui
pkg:github/nesquena/hermes-webui
Affected versions
<0.51.296

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:08:40 UTC

Technical Analysis

CVE-2026-49957 is a path traversal vulnerability in nesquena's Hermes WebUI prior to version 0.51.296. The issue arises from a workspace boundary bypass caused by an early return in the _remote_terminal_workspace_candidate() function during SSH/remote terminal profile workspace resolution. This flaw allows authenticated attackers to circumvent blocked-root path checks by configuring the remote terminal working directory to a system directory such as /etc. Consequently, the workspace resolution path accepts this directory as a trusted local workspace root before the _is_blocked_workspace_path() guard executes, enabling unauthorized read access to local system files via workspace file-read helpers.

Potential Impact

Authenticated attackers can bypass workspace path restrictions to read sensitive local system files, potentially exposing confidential information. The vulnerability does not require user interaction and has a medium severity with a CVSS 4.0 base score of 6.3. There is no indication of privilege escalation, remote code execution, or denial of service from the provided data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to limit access to the remote terminal feature and monitor for suspicious activity related to workspace path configurations. Avoid exposing Hermes WebUI instances to untrusted networks if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-02T16:30:15.232Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a284d178dd33fbd85665a15

Added to database: 06/09/2026, 17:27:51 UTC

Last enriched: 07/15/2026, 10:08:40 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses