Description
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, the Glances REST API web server ships with a default CORS configuration that sets `allow_origins=["*"]` combined with `allow_credentials=True`. When both of these options are enabled together, Starlette's `CORSMiddleware` reflects the requesting `Origin` header value in the `Access-Control-Allow-Origin` response header instead of returning the literal `*` wildcard. This effectively grants any website the ability to make credentialed cross-origin API requests to the Glances server, enabling cross-site data theft of system monitoring information, configuration secrets, and command line arguments from any user who has an active browser session with a Glances instance. Version 4.5.2 fixes 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-9jfm-9rc6-2hfq |
Advisories 1
- openSUSE-SU-2026:10415-1 glances-common-4.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 25, 2026