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 in nesquena's Hermes WebUI before version 0.51.44. The issue exists in the session import endpoint, where an authenticated attacker can supply a workspace field containing a blocked filesystem root and relative paths. This allows reading arbitrary files accessible by the WebUI process, bypassing intended directory restrictions. The vulnerability requires low attack complexity and privileges but no user interaction. The CVSS 4.0 vector indicates network attack vector, low complexity, partial privileges, no user interaction, and high impact on confidentiality.
Potential Impact
An authenticated attacker can read arbitrary files on the system where Hermes WebUI runs by exploiting the path traversal vulnerability. This could lead to disclosure of sensitive information accessible by the WebUI process. There is no indication of privilege escalation, integrity, or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the session import endpoint to trusted users only and monitor for suspicious use of the workspace parameter. 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 in nesquena's Hermes WebUI before version 0.51.44. The issue exists in the session import endpoint, where an authenticated attacker can supply a workspace field containing a blocked filesystem root and relative paths. This allows reading arbitrary files accessible by the WebUI process, bypassing intended directory restrictions. The vulnerability requires low attack complexity and privileges but no user interaction. The CVSS 4.0 vector indicates network attack vector, low complexity, partial privileges, no user interaction, and high impact on confidentiality.
Potential Impact
An authenticated attacker can read arbitrary files on the system where Hermes WebUI runs by exploiting the path traversal vulnerability. This could lead to disclosure of sensitive information accessible by the WebUI process. There is no indication of privilege escalation, integrity, or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the session import endpoint to trusted users only and monitor for suspicious use of the workspace parameter. 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: 07/15/2026, 11:02:58 UTC
Last updated: 08/21/2026, 06:06:26 UTC
Views: 145
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.