{"id":"CVE-2026-32632","published":"2026-03-18T17:47:25Z","modified":"2026-03-18T18:15:59Z","title":"Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding","vendor":"nicolargo","product":"glances","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00215,"percentile":0.12115,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-hhcg-r27j-fhv9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/commit/5850c564ee10804fdf884823b9c210eb954dd1f9","tags":["x_refsource_MISC"]},{"url":"https://github.com/nicolargo/glances/releases/tag/v4.5.2","tags":["x_refsource_MISC"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":2.42},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nicolargo","affectedVersions":[{"vendor":"nicolargo","product":"glances","versions":["< 4.5.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-18T18:15:48.491743Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Glances","vulnerableRanges":["<4.5.2"],"patched":["4.5.2"],"from":["GHSA-hhcg-r27j-fhv9","PYSEC-2026-2171"],"provenance":"source"}],"summary":{"text":"The Glances system monitoring tool's main REST/WebUI FastAPI application, before version 4.5.2, accepts arbitrary Host headers and lacks any host allowlist, leaving the REST API, WebUI and token endpoint exposed to DNS rebinding. An attacker who lures a victim into their browser can, after rebinding their domain to the Glances service, read API responses as same-origin, which requires the victim's user interaction and network access to the Glances service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:16Z"},"euvd":{"id":"EUVD-2026-12925","exploited":false,"provenance":"source"}}