Description
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.4, the Glances web server exposes a REST API (`/api/4/*`) that is accessible without authentication and allows cross-origin requests from any origin due to a permissive CORS policy (`Access-Control-Allow-Origin: *`). This allows a malicious website to read sensitive system information from a running Glances instance in the victim’s browser, leading to cross-origin data exfiltration. While a previous advisory exists for XML-RPC CORS issues, this report demonstrates that the REST API (`/api/4/*`) is also affected and exposes significantly more sensitive data. Version 4.5.4 patches the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nicolargo | glances | < 4.5.4 | — |
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.4+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.4-1.1 | openSUSE-SU-2026:10602-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | glances | < 4.5.4 | 4.5.4 | GHSA-gfc2-9qmw-w7vh |
Advisories 1
- openSUSE-SU-2026:10602-1 glances-common-4.5.4-1.1 on GA media SUSE / openSUSE Security Updates · Apr 23, 2026