{"id":"CVE-2026-49957","state":"PUBLISHED","title":"Hermes WebUI < 0.51.296 Workspace Boundary Bypass via api/workspace.py","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.","publishedAt":"2026-06-09T16:25:10.651Z","updatedAt":"2026-07-14T21:33:29.354Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["nesquena hermes-webui"],"affected":[{"vendor":"nesquena","product":"hermes-webui","packageURL":"pkg:github/nesquena/hermes-webui","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"0.51.296","versionType":"semver"}],"repo":"https://github.com/nesquena/hermes-webui"}],"references":["https://github.com/nesquena/hermes-webui/releases/tag/v0.51.296","https://github.com/nesquena/hermes-webui/pull/3731","https://github.com/nesquena/hermes-webui/pull/3744","https://github.com/nesquena/hermes-webui/commit/91a89fb5d5c0bf87932917f9914ad0150ea62fe4","https://www.vulncheck.com/advisories/hermes-webui-workspace-boundary-bypass-via-api-workspace-py"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49957.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49957","state":"PUBLISHED","datePublished":"2026-06-09T16:25:10.651Z","dateUpdated":"2026-07-14T21:33:29.354Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-02T16:30:15.232Z"},"containers":{"cna":{"title":"Hermes WebUI < 0.51.296 Workspace Boundary Bypass via api/workspace.py","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nesquena","product":"hermes-webui","packageURL":"pkg:github/nesquena/hermes-webui","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"0.51.296","versionType":"semver"}],"repo":"https://github.com/nesquena/hermes-webui"}],"references":[{"url":"https://github.com/nesquena/hermes-webui/releases/tag/v0.51.296","tags":["release-notes"]},{"url":"https://github.com/nesquena/hermes-webui/pull/3731","tags":["issue-tracking"]},{"url":"https://github.com/nesquena/hermes-webui/pull/3744","tags":["issue-tracking"]},{"url":"https://github.com/nesquena/hermes-webui/commit/91a89fb5d5c0bf87932917f9914ad0150ea62fe4","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/hermes-webui-workspace-boundary-bypass-via-api-workspace-py","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","version":"3.1","baseSeverity":"HIGH","baseScore":7.7,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T21:33:29.354Z"},"tags":["x_open-source"],"datePublic":"2026-06-06T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:get-hermes:hermes_web_ui:*:*:*:*:*:*:*:*","versionEndExcluding":"0.51.296"}]}]}],"credits":[{"lang":"en","value":"Chia Min Jun Lennon","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-09T20:21:59.197539Z","id":"CVE-2026-49957","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-09T20:22:07.143Z"}}]}}}