What’s Vulnerable › Vulnerabilities
CVE-2026-22677: Hermes WebUI < 0.51.44 Path Traversal via Session Import Endpoint
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-13 · updated 2026-10-26
- Weakness: CWE-22
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.
Affected products
- nesquena hermes-webui: before 0.51.44 — fixed in 0.51.44
How to fix
Upgrade to a fixed version: nesquena hermes-webui 0.51.44. Check the vendor advisory for mitigations.
References
- https://github.com/nesquena/hermes-webui/commit/f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3
- https://github.com/nesquena/hermes-webui/pull/2048
- https://github.com/nesquena/hermes-webui/releases/tag/v0.51.44
- https://www.vulncheck.com/advisories/hermes-webui-path-traversal-via-session-import-endpoint
- https://github.com/nesquena/hermes-webui/pull/2048
Get alerted when CVE-2026-22677 or the next vulnerability affects your stack