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

Medium 6.0 Published Updated

Authenticated attackers can read arbitrary files via path traversal in the session import endpoint of Hermes WebUI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-22677?

CVE-2026-22677 is a medium-severity path traversal vulnerability in nesquena hermes-webui, published on 13 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-22677?

How do I fix CVE-2026-22677?

No fix has been published for CVE-2026-22677 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-22677 being exploited?

There is no known exploitation of CVE-2026-22677 in the wild and no public exploit code.

Sources

Also known as GHSA-wvw9-5wfm-7729.

Is CVE-2026-22677 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free