CVE-2026-6830: CWE-668: Exposure of Resource to Wrong Sphere in nesquena hermes-webui
CVE-2026-6830 is a medium severity vulnerability in nesquena hermes-webui where environment variables from a previously active profile are not cleared before loading a new profile. This allows leakage of sensitive information such as provider API keys across profile contexts, breaking expected security isolation. The vulnerability arises from additive dotenv reload behavior during profile switching. There is no confirmed patch or official remediation available at this time.
AI Analysis
Technical Summary
The vulnerability in nesquena hermes-webui involves improper handling of environment variables during profile switching. When a user switches profiles, environment variables from the prior profile remain set and are not cleared before the new profile's variables are loaded. This additive dotenv reload behavior can be exploited by attackers or users to access sensitive secrets, including provider API keys, from one profile while operating in another. This breaks the intended security isolation between profiles, potentially exposing confidential data. The CVSS 4.8 score reflects a medium severity with local attack vector and low complexity.
Potential Impact
Sensitive environment variables such as API keys and secrets can be exposed across profile boundaries, violating security isolation. This could lead to unauthorized access to resources or services that rely on these secrets. However, exploitation requires local access with low privileges and does not involve user interaction or network attack vectors.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid switching profiles in a way that relies on environment variable isolation or manually clear environment variables between profile switches to prevent leakage.
CVE-2026-6830: CWE-668: Exposure of Resource to Wrong Sphere in nesquena hermes-webui
Description
CVE-2026-6830 is a medium severity vulnerability in nesquena hermes-webui where environment variables from a previously active profile are not cleared before loading a new profile. This allows leakage of sensitive information such as provider API keys across profile contexts, breaking expected security isolation. The vulnerability arises from additive dotenv reload behavior during profile switching. There is no confirmed patch or official remediation available at this time.
CVSS v4.0
Score 4.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in nesquena hermes-webui involves improper handling of environment variables during profile switching. When a user switches profiles, environment variables from the prior profile remain set and are not cleared before the new profile's variables are loaded. This additive dotenv reload behavior can be exploited by attackers or users to access sensitive secrets, including provider API keys, from one profile while operating in another. This breaks the intended security isolation between profiles, potentially exposing confidential data. The CVSS 4.8 score reflects a medium severity with local attack vector and low complexity.
Potential Impact
Sensitive environment variables such as API keys and secrets can be exposed across profile boundaries, violating security isolation. This could lead to unauthorized access to resources or services that rely on these secrets. However, exploitation requires local access with low privileges and does not involve user interaction or network attack vectors.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid switching profiles in a way that relies on environment variable isolation or manually clear environment variables between profile switches to prevent leakage.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-21T21:22:31.635Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7f01d19fe3cd2cdfcab55
Added to database: 4/21/2026, 9:46:05 PM
Last enriched: 4/29/2026, 11:39:15 AM
Last updated: 6/5/2026, 6:33:53 PM
Views: 97
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.