CVE-2026-22677: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
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.
AI Analysis
Technical Summary
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.
CVE-2026-22677: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena 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
Affected software
pkg:github/nesquena/hermes-webuiRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.