Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim browses to attacker website
-
DeliveryMalicious JavaScript executes in browser
-
ExploitCross-origin API requests to Glances endpoints
-
ExecutionRetrieve system metrics JSON response
-
PersistExfiltrate data to attacker server
-
ImpactReconnaissance for lateral movement
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Glances web server component to be running and accessible from the victim's browser context. Specifically, the victim must be running Glances with the --webserver flag or equivalent configuration (not the default terminal-only mode) on a port reachable from their browser (typically localhost:61208 for local instances or network-accessible IP for remote monitoring setups). The attacker must then induce the victim to visit a malicious website while their browser can establish HTTP connections to the Glances instance - either on the same machine (localhost) or across the local network. No authentication is required to access the /api/4/* endpoints. No special Glances configuration beyond enabling the web server is necessary. Attack does NOT work against Glances instances running in terminal-only mode (-t flag) or when web server is disabled. Browser-based attack vector means standard browser security features (HTTPS/HSTS, Content Security Policy) do not prevent exploitation since the malicious JavaScript executes in victim's legitimate browser context with network access to local services. |
| Impact | Real-world risk assessment reveals moderate but actionable threat despite superficially high CVSS 4.0 score of 7.7. CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates trivial remote exploitation requiring no authentication or user interaction, with high confidentiality impact (VC:H) but no integrity or availability impact. However, several factors constrain realistic exploitation: the EPSS score of 0.06% (18th percentile) indicates low automated scanning activity and minimal observed exploitation attempts in the wild. The CVSS E:P (proof-of-concept) modifier confirms exploit code exists but no CISA KEV listing exists, suggesting targeted rather than widespread exploitation. Attack complexity is low from technical perspective but requires victim to run an accessible Glances web server instance (non-default for many deployments) and visit attacker-controlled website while browser can reach the Glances endpoint. The CVSS UI:N rating appears inconsistent with the cross-origin attack scenario described, which inherently requires user interaction (visiting malicious site) - this suggests the vector may reflect API accessibility rather than full attack chain. Primary risk populations are organizations running internet-facing Glances dashboards for infrastructure monitoring or users accessing Glances on localhost while browsing untrusted websites. Information disclosure is limited to system metrics without direct code execution capability, reducing immediate exploitation value compared to RCE vulnerabilities, but leaked process lists and network data significantly aid lateral movement reconnaissance in targeted attacks. |
| Exploit ScenarioDerived | An attacker hosts a malicious website containing JavaScript that issues fetch requests to common Glances endpoints (http://localhost:61208/api/4/all, http://target-ip:61208/api/4/processlist). When a victim running Glances web server visits the attacker's site, the permissive CORS policy allows the JavaScript to successfully retrieve and exfiltrate JSON responses containing detailed system information including running processes, CPU usage, memory allocation, network connections, and filesystem metrics. The attacker can use this reconnaissance data to identify vulnerable services, map network topology, or correlate with known exploits for other services discovered in the process list. Proof-of-concept exploit code exists demonstrating the cross-origin data retrieval technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 21, 2026
Cross-origin data exfiltration in Glances web server allows remote unauthenticated attackers to read sensitive system information (CPU, memory, processes, network stats) through the REST API endpoint /api/4/* via malicious websites exploiting permissive CORS policy. Affects all versions prior to 4.5.4. EPSS score of 0.06% (18th percentile) suggests low widespread exploitation probability despite proof-of-concept availability, though the network-accessible, unauthenticated attack vector (AV:N/PR:N) combined with high confidentiality impact (VC:H) makes this a priority for internet-exposed instances.
Earlier versions of this analysis (1)
Glances web server versions before 4.5.4 expose unauthenticated REST API endpoints (/api/4/*) with permissive CORS policy allowing any origin to read sensitive system monitoring data through victim browsers. Publicly available exploit code exists. This cross-origin data exfiltration vulnerability affects all Glances web server deployments running vulnerable versions, enabling malicious websites to harvest CPU usage, memory statistics, network connections, running processes, and other system metrics without user awareness. EPSS data not available; CVSS 7.7 reflects high confidentiality impact with network attack vector requiring no privileges.
RemediationAI
Upgrade immediately to Glances version 4.5.4 or later, which implements proper CORS policy restrictions on the /api/4/* endpoints. Patch is available from the official GitHub repository at https://github.com/nicolargo/glances/commit/fdfb977b1d91b5e410bc06c4e19f8bedb0005ce9 and documented in security advisory GHSA-gfc2-9qmw-w7vh. For environments unable to upgrade immediately, implement network-level access controls: bind Glances web server to localhost only (--bind 127.0.0.1) if local-only access suffices, which prevents remote cross-origin attacks but limits legitimate remote monitoring; alternatively, deploy reverse proxy (nginx, Apache) with strict CORS headers and authentication before the Glances instance, though this adds architectural complexity and potential misconfiguration risk. If internet exposure is required, use SSH tunneling or VPN access rather than direct exposure until patching is complete. Note that disabling the web server entirely (running Glances in terminal mode only with -t flag) eliminates the attack surface but removes web dashboard functionality. Review web server access logs for suspicious cross-origin requests from unexpected Referer headers as potential indicators of exploitation attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Glances is a Python-based cross-platform system monitoring tool providing both CLI and web server interfaces for viewing system metrics. The vulnerability exists in the web server component's REST API implementation at the /api/4/* endpoints. The server applies an overly permissive Cross-Origin Resource Sharing (CORS) policy with 'Access-Control-Allow-Origin: *' header, violating same-origin policy protections that normally prevent cross-site requests. This CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) flaw allows any external website to issue JavaScript fetch/XMLHttpRequest calls to a victim's local or network-accessible Glances instance and retrieve the JSON responses containing system telemetry. The vulnerability specifically affects the REST API path space (/api/4/*), which exposes more granular system data than the previously disclosed XML-RPC CORS issue, including detailed process information, filesystem stats, and network connections that could aid reconnaissance for further attacks.
Know when Glances gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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:P
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
Glances web server versions before 4.5.4 contain an unauthenticated REST API vulnerability that allows malicious websites to extract sensitive system monitoring data (CPU, memory, processes, network activity) from victim browsers via CORS misconfiguration. This affects all vulnerable Glances deployments and could enable competitors or threat actors to profile infrastructure and operational patterns without user awareness.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to Glances web server ports via firewall rules to trusted internal IP ranges only; (2) Deploy reverse proxy (nginx/Apache) in front of Glances with CORS policy explicitly rejecting cross-origin requests and requiring Origin header validation; (3) Disable REST API endpoints if not operationally required; (4) Monitor network logs for cross-origin requests to /api/4/* endpoints from unexpected sources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Glances Unauthenticated Access and SSRF
View all 2The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse unt
Command injection in Glances prior to 4.5.6 allows a local unprivileged user to execute arbitrary shell commands when ad
Glances is an open-source system cross-platform monitoring tool. versions up to 4.5.1 is affected by information exposur
Command injection in Glances system monitoring (versions 4.5.2 through 4.5.5) allows a local attacker with process-execu
SQL injection in Glances TimescaleDB export module allows local attackers to execute arbitrary SQL commands against the
Glances versions through 4.5.5 contain an incomplete fix for CVE-2026-53925: the `--disable-config-exec` flag correctly
Glances REST API prior to 4.5.6 exposes authenticated system monitoring data to untrusted cross-origin websites due to a
Argument injection in Glances on-alert action handling, in versions prior to 4.5.7, lets an attacker who can influence a
Cassandra export module in Glances prior to version 4.5.4 allows local privilege-escalated users to redirect monitoring
Credential disclosure in Glances prior to 4.5.6 allows unauthenticated remote attackers to retrieve plaintext usernames
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-23986
GHSA-gfc2-9qmw-w7vh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB