Glances: as_dict_secure() Value-Level Bypass Leaks Credentials in URL Values via /api/4/config
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nicolargo | glances | before 4.5.6 | 4.5.6 | Patch available | CNA |
| — | glances (PyPI) | before 4.5.6 | 4.5.6 | Patch available | GHSA-4h34-v6r8-mmjc |
- glances Vendornicolargo Affected before 4.5.6 Fixed in 4.5.6 Patch available CNA
- glances (PyPI) Vendor— Affected before 4.5.6 Fixed in 4.5.6 Patch available GHSA-4h34-v6r8-mmjc
Remediation
- Fix · CNA glances (nicolargo) Fixed in 4.5.6
- Fix · GHSA-4h34-v6r8-mmjc glances (PyPI) Fixed in 4.5.6 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-68520
- 2026-10-03 Alias added: GHSA-4h34-v6r8-mmjc
References
More nicolargo vulnerabilities
- TI-2026-25142 Glances's Browser API Exposes Reusable Downstream Credentials via `/api/4/serverslist` CVSS 3.1CRITICAL 9.1
- TI-2026-25106 Glances exposes the REST API without authentication CVSS 4.0HIGH 8.7
- TI-2026-48284 Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction CVSS 4.0HIGH 8.8
- TI-2026-44988 OS command injection in nicolargo glances CVSS 3.1HIGH 8.8
- TI-2026-27083 Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS CVSS 4.0HIGH 7.7
- TI-2026-25120 Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-68520 · CVE Program
- CVE-2026-68520 · NVD
- FIRST EPSS
- GHSA-4h34-v6r8-mmjc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-68520 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences