Nesquena Hermes WebUI Environment Variable Credential Leakage via Profile Switch
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-6830
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 21:34 UTC · Revision 1
Source evidence
Nesquena Hermes WebUI Environment Variable Credential Leakage via Profile Switch
core-osv · Original sourcePublished 21 Apr 2026, 21:33 UTC
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.
osv:CVE-2026-6830
Complete source record
{
"id": "09de658e5429eedb0f9c21cc05036ded5c96b0dcade1e432c92df8300d146e16",
"url": "https://osv.dev/vulnerability/CVE-2026-6830",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Nesquena Hermes WebUI Environment Variable Credential Leakage via Profile Switch",
"summary": "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.",
"evidence": "osv:CVE-2026-6830",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-6830",
"aliases": [
"CVE-2026-6830"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nesquena/hermes-webui",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "88dc8bbe26a6055161d3251b70f5cd3d3c5831b0"
},
{
"fixed": "f6e1612c7e9aab97a0866ca8f3985f1fd99f52f6"
},
{
"fixed": "09bbbfc657c372481f23f377753befcfc2f08d20"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "88dc8bbe26a6055161d3251b70f5cd3d3c5831b0"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f6e1612c7e9aab97a0866ca8f3985f1fd99f52f6"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.50.132"
},
{
"range": [
{
"fixed": "09bbbfc657c372481f23f377753befcfc2f08d20"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.50.12"
}
]
}
}
],
"versions": [
"v0.50.11",
"v0.50.10",
"v0.50.9",
"v0.50.8",
"v0.50.7",
"v0.50.6",
"v0.50.5",
"v0.50.4",
"v0.50.3",
"v0.50.2",
"v0.50.1",
"v0.50.0",
"v0.49.4",
"v0.49.3",
"v0.49.2",
"v0.49.1",
"v0.49.0",
"v0.48.2",
"v0.48.1",
"v0.48.0",
"v0.47.1",
"v0.47.0",
"v0.46.0",
"v0.45.0",
"v0.44.1",
"v0.44.0",
"v0.43.1",
"v0.43.0",
"v0.42.2",
"v0.42.1",
"v0.42.0",
"v0.41.0",
"v0.40.2",
"v0.40.1",
"v0.40.0",
"v0.39.1",
"v0.39.0",
"v0.38.6",
"v0.38.5",
"v0.38.4",
"v0.38.3",
"v0.38.2",
"v0.38.1",
"v0.38.0",
"v0.37.0",
"v0.36.3",
"v0.36.2",
"v0.36.1",
"v0.36",
"v0.35.1",
"v0.35",
"v0.34.3",
"v0.34.2",
"v0.34.1",
"v0.34",
"v0.33",
"v0.32",
"v0.31.2",
"v0.31.1",
"v0.31",
"v0.30.4",
"v0.30.3",
"v0.30.2",
"v0.30.1",
"v0.30",
"v0.29",
"v0.28.1",
"v0.28",
"v0.27",
"v0.26",
"v0.25",
"v0.24",
"v0.23",
"v0.22",
"v0.21",
"v0.20",
"v0.19",
"v0.18.1",
"v0.18",
"v0.17.3",
"v0.17.2",
"v0.17.1",
"v0.16.2",
"v0.16.1",
"v0.16",
"v0.12"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6830.json"
}
}
],
"modified": "2026-10-28T02:30:39.836439866Z",
"provider": "osv",
"references": [
"https://github.com/nesquena/hermes-webui/releases/tag/v0.50.132",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6830.json",
"https://github.com/nesquena/hermes-webui/releases/tag/v0.50.12",
"https://nvd.nist.gov/vuln/detail/CVE-2026-6830",
"https://www.vulncheck.com/advisories/nesquena-hermes-webui-environment-variable-credential-leakage-via-profile-switch",
"https://github.com/nesquena/hermes-webui/pull/351",
"https://github.com/nesquena/hermes-webui/commit/88dc8bbe26a6055161d3251b70f5cd3d3c5831b0"
],
"provider_metadata": {
"cwe_ids": [
"CWE-459",
"CWE-668"
],
"cna_assigner": "VulnCheck",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "PR #351"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6830.json"
}
},
"related_cves": [
{
"value": "CVE-2026-6830",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507345,
"published_at": "2026-04-21T21:33:28.985+00:00"
}