Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M
CVE-2026-68520Glances: as_dict_secure() Value-Level Bypass Leaks Credentials in URL Values via /api/4/config
Medium 5.3
In plain English
A medium-severity information exposure in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, as_dict_secure() in glances/config.py checks only option names and exposes public_username and credentials embedded in public_api values through unauthenticated GET /api/4/config and GET /api/4/config/ip requests. This issue is fixed in 4.5.6.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | glances | no fix listed | DEBIAN-CVE-2026-68520 |
| Debian:13 | glances | no fix listed | DEBIAN-CVE-2026-68520 |
| Debian:14 | glances | 4.5.6+dfsg-1 | DEBIAN-CVE-2026-68520 |
| PyPI | glances | 4.5.6 | PYSEC-2026-3664 |
| PyPI | glances | 4.5.6 | GHSA-4h34-v6r8-mmjc |
| Ubuntu:22.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-68520 |
| Ubuntu:24.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-68520 |
| Ubuntu:26.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-68520 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-4h34-v6r8-mmjc x_refsource_CONFIRM
- https://github.com/nicolargo/glances/commit/8d0f8276c2abd2e9d400bd6c84bdfba0dfcab065 x_refsource_MISC
- https://github.com/nicolargo/glances/releases/tag/v4.5.6 x_refsource_MISC