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 70%

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

0
Medium
VulnerabilityCVE-2026-22677cvecve-2026-22677
Published: 05/13/2026 (05/13/2026, 19:08:02 UTC)
Source: CVE Database V5
Vendor/Project: nesquena
Product: hermes-webui

Description

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.

CVSS v4.0

Score 6.0medium

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

Affected software

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

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: 05/28/2026, 20:31:18 UTC

Technical Analysis

CVE-2026-22677 is a path traversal vulnerability affecting nesquena's hermes-webui prior to version 0.51.44. The flaw exists in the session import endpoint where an authenticated attacker can supply a crafted session containing an unrestricted workspace value. By using a blocked filesystem root in the workspace field combined with relative paths in the session file API, the attacker can read arbitrary files that the WebUI process has permission to access. This vulnerability enables unauthorized file disclosure beyond the intended directory restrictions.

Potential Impact

An authenticated attacker can read arbitrary files on the system accessible to the hermes-webui process by exploiting the path traversal vulnerability. This could lead to exposure of sensitive information stored on the server. The vulnerability does not allow privilege escalation or code execution based on the provided data. There are no reports of active exploitation in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the hermes-webui to trusted users only and monitor for suspicious activity related to session imports. Avoid importing sessions from untrusted sources.

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-01-08T19:04:26.365Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a04cf37cbff5d86100040a3

Added to database: 05/13/2026, 19:21:27 UTC

Last enriched: 05/28/2026, 20:31:18 UTC

Last updated: 07/07/2026, 10:33:22 UTC

Views: 108

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