CVE-2026-6829: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
nesquena hermes-webui contains a trust-boundary failure vulnerability that allows authenticated attackers to set or change a session workspace to an arbitrary existing directory on disk by manipulating workspace path parameters in endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add. Attackers can repoint a session workspace to a directory outside the intended trusted root and then use ordinary file read and write APIs to access or modify files outside the intended workspace boundary within the permissions of the hermes-webui process.
AI Analysis
Technical Summary
The vulnerability in nesquena hermes-webui is a trust-boundary failure where authenticated attackers can manipulate workspace path parameters in endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add to set or change the session workspace to an arbitrary existing directory on disk. This path traversal flaw (CWE-22) allows attackers to bypass intended directory restrictions and access or modify files outside the trusted workspace boundary under the permissions of the hermes-webui process.
Potential Impact
Authenticated attackers can access and modify files outside the intended workspace directory, potentially leading to unauthorized data access or modification within the permissions of the hermes-webui process. This could compromise data integrity and confidentiality within the affected system.
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 affected API endpoints to trusted users only and monitor for suspicious activity related to workspace path manipulation.
CVE-2026-6829: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
Description
nesquena hermes-webui contains a trust-boundary failure vulnerability that allows authenticated attackers to set or change a session workspace to an arbitrary existing directory on disk by manipulating workspace path parameters in endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add. Attackers can repoint a session workspace to a directory outside the intended trusted root and then use ordinary file read and write APIs to access or modify files outside the intended workspace boundary within the permissions of the hermes-webui process.
CVSS v4.0
Score 5.3medium
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in nesquena hermes-webui is a trust-boundary failure where authenticated attackers can manipulate workspace path parameters in endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add to set or change the session workspace to an arbitrary existing directory on disk. This path traversal flaw (CWE-22) allows attackers to bypass intended directory restrictions and access or modify files outside the trusted workspace boundary under the permissions of the hermes-webui process.
Potential Impact
Authenticated attackers can access and modify files outside the intended workspace directory, potentially leading to unauthorized data access or modification within the permissions of the hermes-webui process. This could compromise data integrity and confidentiality within the affected system.
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 affected API endpoints to trusted users only and monitor for suspicious activity related to workspace path manipulation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-21T20:58:02.047Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7e91619fe3cd2cdfaec5f
Added to database: 04/21/2026, 21:16:06 UTC
Last enriched: 07/15/2026, 09:57:27 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 144
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.