CVE-2026-58174: Incorrect Permission Assignment for Critical Resource in nesquena hermes-webui
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.
AI Analysis
Technical Summary
In Hermes WebUI prior to version 0.51.521, the /api/session/import handler validates the workspace of an imported session under the active named profile but fails to set the session's profile when constructing the Session object. As a result, the imported session is saved with a null profile. Since the authorization logic treats a null profile as the default profile, users assigned to the default profile can export the imported session transcript and leverage its session identifier to read files from the named profile's workspace. This flaw breaks the intended profile isolation and exposes sensitive data across profiles.
Potential Impact
An attacker with access to the default profile can read files from other users' named profile workspaces by exporting and using the imported session transcript. This leads to unauthorized disclosure of potentially sensitive information. The vulnerability does not affect integrity or availability but has a high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the default profile and avoid importing sessions from untrusted sources to limit exposure.
CVE-2026-58174: Incorrect Permission Assignment for Critical Resource in nesquena hermes-webui
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.
CVSS v3.1
Score 6.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Hermes WebUI prior to version 0.51.521, the /api/session/import handler validates the workspace of an imported session under the active named profile but fails to set the session's profile when constructing the Session object. As a result, the imported session is saved with a null profile. Since the authorization logic treats a null profile as the default profile, users assigned to the default profile can export the imported session transcript and leverage its session identifier to read files from the named profile's workspace. This flaw breaks the intended profile isolation and exposes sensitive data across profiles.
Potential Impact
An attacker with access to the default profile can read files from other users' named profile workspaces by exporting and using the imported session transcript. This leads to unauthorized disclosure of potentially sensitive information. The vulnerability does not affect integrity or availability but has a high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the default profile and avoid importing sessions from untrusted sources to limit exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-29T16:03:38.522Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43f43127e9c79719185f8b
Added to database: 06/30/2026, 16:52:01 UTC
Last enriched: 06/30/2026, 17:07:31 UTC
Last updated: 06/30/2026, 23:48:39 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.