CVE-2026-34839: Glances - CORS Misconfiguration
- Cve: CVE-2026-34839
- Name: Glances - CORS Misconfiguration
- Description: Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.4, the Glances web server exposes a REST API (`/api/4/*`) that is accessible without authentication and allows cross-origin requests from any origin due to a permissive CORS policy (`Access-Control-Allow-Origin: *`). This allows a malicious website to read sensitive system information from a running Glances instance in the victim’s browser, leading to cross-origin data exfiltration. While a previous advisory exists for XML-RPC CORS issues, this report demonstrates that the REST API (`/api/4/*`) is also affected and exposes significantly more sensitive data. Version 4.5.4 patches the issue.
- Impact: Attackers can exfiltrate sensitive system information from a victim's browser, leading to information disclosure.
- Remediation: Update to version 4.5.4 or later.
- Vulnerability type: cors_misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: user_interaction
- Requirements: Victim must visit a malicious website to trigger data exfiltration
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Epss score: 0.00424
- Epss percentile: 0.37448
- Assignee: [email protected]
- Published at: 2026-04-21T00:16:27Z
- Age in days: 217
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34839
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
| CWE-306 | Missing Authentication for Critical Functionality |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nicolargo/glances/security/advisories/GHSA-gfc2-9qmw-w7vh | nvd | 2026-04-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nicolargo/glances/commit/fdfb977b1d91b5e410bc06c4e19f8bedb0005ce9 | nvd | Patch |
| https://github.com/nicolargo/glances/security/advisories/GHSA-gfc2-9qmw-w7vh | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nicolargo:glances | < 4.5.4 | no | nvd | /v1/products/nicolargo/glances |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nicolargo/glances | commit, fix, package, security_advisory | yes | /v1/repositories/nicolargo/glances |
Index
- Repositories: 3
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-21
- Remote: yes
- Exposed hosts: 66
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports