{"id":"CVE-2026-58174","state":"PUBLISHED","title":"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.","publishedAt":"2026-06-30T15:55:54.374Z","updatedAt":"2026-07-14T21:34:59.026Z","severity":{"score":6,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["nesquena hermes-webui"],"affected":[{"vendor":"nesquena","product":"hermes-webui","packageURL":"pkg:github/nesquena/hermes-webui","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.51.521","versionType":"semver"}],"repo":"https://github.com/nesquena/hermes-webui"}],"references":["https://github.com/nesquena/hermes-webui/releases/tag/v0.51.521","https://github.com/nesquena/hermes-webui/pull/4489","https://github.com/nesquena/hermes-webui/pull/4506","https://github.com/nesquena/hermes-webui/commit/3d5ef4758e920ba6888d49aaa4341de214693496","https://www.vulncheck.com/advisories/hermes-webui-cross-profile-authorization-bypass-via-unset-session-profile-on-import"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/58xxx/CVE-2026-58174.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-58174","state":"PUBLISHED","datePublished":"2026-06-30T15:55:54.374Z","dateUpdated":"2026-07-14T21:34:59.026Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-29T16:03:38.522Z"},"containers":{"cna":{"title":"Hermes WebUI < 0.51.521 - Cross-Profile Authorization Bypass via Unset Session Profile on Import","descriptions":[{"lang":"en","value":"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":[{"vendor":"nesquena","product":"hermes-webui","packageURL":"pkg:github/nesquena/hermes-webui","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.51.521","versionType":"semver"}],"repo":"https://github.com/nesquena/hermes-webui"}],"references":[{"url":"https://github.com/nesquena/hermes-webui/releases/tag/v0.51.521","name":"Release Notes","tags":["release-notes"]},{"url":"https://github.com/nesquena/hermes-webui/pull/4489","name":"Researcher PR","tags":["technical-description"]},{"url":"https://github.com/nesquena/hermes-webui/pull/4506","name":"Maintainer PR","tags":["issue-tracking"]},{"url":"https://github.com/nesquena/hermes-webui/commit/3d5ef4758e920ba6888d49aaa4341de214693496","name":"Fix Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/hermes-webui-cross-profile-authorization-bypass-via-unset-session-profile-on-import","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","version":"3.1","baseSeverity":"MEDIUM","baseScore":6.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","lang":"en","description":"Incorrect Permission Assignment for Critical Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T21:34:59.026Z"},"tags":["x_open-source"],"datePublic":"2026-06-18T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:get-hermes:hermes_web_ui:*:*:*:*:*:*:*:*","versionEndExcluding":"0.51.521"}]}]}],"credits":[{"lang":"en","value":"Chia Min Jun Lennon","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nesquena/hermes-webui/pull/4489","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-30T16:47:14.661229Z","id":"CVE-2026-58174","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-30T16:47:35.711Z"}}]}}}