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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nicolargo | glances | < 4.5.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glances | 4.5.2+dfsg-1 | — |
| Debian 13 | glances | No fix yet | — |
| Debian 12 | glances | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | glances | No fix yet | — |
| Ubuntu 26.04 LTS | glances | No fix yet | — |
| Ubuntu 25.10 | glances | No fix yet | — |
| Ubuntu 24.04 LTS | glances | No fix yet | — |
| Ubuntu 22.04 LTS | glances | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | glances | No fix yet | — |
| Ubuntu Pro 18.04 LTS | glances | No fix yet | — |
| Ubuntu Pro 16.04 LTS | glances | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Glances | 4.5.2-1.1 | openSUSE-SU-2026:10415-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | glances | < 4.5.2 | 4.5.2 | GHSA-hhcg-r27j-fhv9 |
Advisories 1
- openSUSE-SU-2026:10415-1 glances-common-4.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 25, 2026