Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS
Affects glancesSource GCVE Database
Public exploit available · CVSS 7.7 High : upgrade to 4.5.6 as a priority.
Data as of 9 Nov 2026, 19:50 UTC
- Patch
- Available – fixed in 4.5.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 20 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade glances to 4.5.6.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewglancespkg:brew/glancesOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Glances to version 4.5.6 or later, where the issue is patched. The vendor has released an official fix that restricts CORS policy and requires proper authentication for the REST API. No additional mitigation is required once the update is applied.
Description
Glances versions prior to 4.5.6 have a vulnerability in their web server REST API (/api/4/*) where a permissive CORS policy allows cross-origin requests from any origin without authentication. This enables malicious websites to read sensitive system information from a running Glances instance in the victim's browser, leading to cross-origin data exfiltration. The issue is fixed in version 4.5.6.
References
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34839.json (opens in a new tab)
- github.com/nicolargo/glances/security/advisories/GHSA-gfc2-9qmw-w7vh (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-34839 (opens in a new tab)
- github.com/nicolargo/glances/commit/fdfb977b1d91b5e410bc06c4e19f8bedb0005ce9 (opens in a new tab)