PT-2026-76724 · Glance · Glance
CVE-2026-68520
·
Published
2026-08-17
·
Updated
2026-09-02
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Glances versions prior to 4.5.6
Description
An issue exists in the
as dict secure() function within glances/config.py where the sanitization process only validates option names against a regex pattern and fails to inspect the actual values. This allows unauthenticated users to access sensitive information through the 'GET /api/4/config' and 'GET /api/4/config/ip' API endpoints. Specifically, the public username variable and credentials embedded within the public api variable (such as those in the format https://user:pass@host/) are exposed in full, even though the function is intended to mask sensitive configuration data.Recommendations
Update Glances to version 4.5.6.
As a temporary workaround, restrict access to the 'GET /api/4/config' and 'GET /api/4/config/ip' API endpoints.
Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Glance