What’s Vulnerable › Vulnerabilities

CVE-2026-58174: Hermes WebUI < 0.51.521 - Cross-Profile Authorization Bypass via Unset Session Profile on Import

Description

Hermes WebUI before 0.51.521 validates the workspace of an imported session under the active named profile but constructs the Session object without setting its profile in the /api/session/import handler, so the imported session is persisted with a null profile. Because a null profile is treated as the default profile by the profile authorization check, a user on the default profile can export the imported session transcript and use its session identifier to read files from the named profile's workspace, defeating the application's profile isolation.

Affected products

How to fix

Upgrade to a fixed version: nesquena hermes-webui 0.51.521. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-58174 or the next vulnerability affects your stack