{"id":"CVE-2026-6830","state":"PUBLISHED","title":"Nesquena Hermes WebUI Environment Variable Credential Leakage via Profile Switch","description":"nesquena hermes-webui contains an environment variable leakage vulnerability where profile switching does not clear environment variables from the previously active profile before loading the next profile. Attackers or users can exploit additive dotenv reload behavior to access provider API keys and other sensitive secrets from one profile context in another profile, breaking expected security isolation between profiles.","publishedAt":"2026-04-21T21:33:28.985Z","updatedAt":"2026-07-14T22:03:52.302Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["nesquena hermes-webui"],"affected":[{"vendor":"nesquena","product":"hermes-webui","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"PR #351","versionType":"git"}]}],"references":["https://github.com/nesquena/hermes-webui/commit/88dc8bbe26a6055161d3251b70f5cd3d3c5831b0","https://github.com/nesquena/hermes-webui/pull/351","https://github.com/nesquena/hermes-webui/releases/tag/v0.50.132","https://github.com/nesquena/hermes-webui/releases/tag/v0.50.12","https://www.vulncheck.com/advisories/nesquena-hermes-webui-environment-variable-credential-leakage-via-profile-switch"],"weaknesses":["CWE-668","CWE-459"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/6xxx/CVE-2026-6830.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-6830","state":"PUBLISHED","datePublished":"2026-04-21T21:33:28.985Z","dateUpdated":"2026-07-14T22:03:52.302Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-04-21T21:22:31.635Z"},"containers":{"cna":{"title":"Nesquena Hermes WebUI Environment Variable Credential Leakage via Profile Switch","descriptions":[{"lang":"en","value":"nesquena hermes-webui contains an environment variable leakage vulnerability where profile switching does not clear environment variables from the previously active profile before loading the next profile. Attackers or users can exploit additive dotenv reload behavior to access provider API keys and other sensitive secrets from one profile context in another profile, breaking expected security isolation between profiles."}],"affected":[{"vendor":"nesquena","product":"hermes-webui","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"PR #351","versionType":"git"}]}],"references":[{"url":"https://github.com/nesquena/hermes-webui/commit/88dc8bbe26a6055161d3251b70f5cd3d3c5831b0","name":"Patch Commit","tags":["patch"]},{"url":"https://github.com/nesquena/hermes-webui/pull/351","name":"Pull Request","tags":["issue-tracking"]},{"url":"https://github.com/nesquena/hermes-webui/releases/tag/v0.50.132","name":"Release Notes"},{"url":"https://github.com/nesquena/hermes-webui/releases/tag/v0.50.12","name":"Release Notes","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/nesquena-hermes-webui-environment-variable-credential-leakage-via-profile-switch","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","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":4.8,"vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseSeverity":"LOW","baseScore":3.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-668","lang":"en","description":"CWE-668: Exposure of Resource to Wrong Sphere","type":"CWE"},{"cweId":"CWE-459","lang":"en","description":"CWE-459: Incomplete Cleanup","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T22:03:52.302Z"},"datePublic":"2026-04-21T22:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:get-hermes:hermes_web_ui:*:*:*:*:*:*:*:*"}]}]}],"credits":[{"lang":"en","value":"Chia Min Jun Lennon","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T13:38:36.367888Z","id":"CVE-2026-6830","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-22T13:43:58.788Z"}}]}}}