{"id":"CVE-2026-32632","state":"PUBLISHED","title":"Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding","description":"Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue.","publishedAt":"2026-03-18T17:47:25.929Z","updatedAt":"2026-03-18T18:15:59.648Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nicolargo glances"],"affected":[{"vendor":"nicolargo","product":"glances","versions":[{"version":"< 4.5.2","status":"affected"}]}],"references":["https://github.com/nicolargo/glances/security/advisories/GHSA-hhcg-r27j-fhv9","https://github.com/nicolargo/glances/commit/5850c564ee10804fdf884823b9c210eb954dd1f9","https://github.com/nicolargo/glances/releases/tag/v4.5.2"],"weaknesses":["CWE-346"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32632.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32632","state":"PUBLISHED","datePublished":"2026-03-18T17:47:25.929Z","dateUpdated":"2026-03-18T18:15:59.648Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-12T15:29:36.559Z"},"containers":{"cna":{"title":"Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding","descriptions":[{"lang":"en","value":"Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue."}],"affected":[{"vendor":"nicolargo","product":"glances","versions":[{"version":"< 4.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-hhcg-r27j-fhv9","name":"https://github.com/nicolargo/glances/security/advisories/GHSA-hhcg-r27j-fhv9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/commit/5850c564ee10804fdf884823b9c210eb954dd1f9","name":"https://github.com/nicolargo/glances/commit/5850c564ee10804fdf884823b9c210eb954dd1f9","tags":["x_refsource_MISC"]},{"url":"https://github.com/nicolargo/glances/releases/tag/v4.5.2","name":"https://github.com/nicolargo/glances/releases/tag/v4.5.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-346","lang":"en","description":"CWE-346: Origin Validation Error","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-18T17:47:25.929Z"},"source":{"advisory":"GHSA-hhcg-r27j-fhv9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-hhcg-r27j-fhv9","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-18T18:15:48.491743Z","id":"CVE-2026-32632","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-03-18T18:15:59.648Z"}}]}}}