Skip to main content

Glances CVE-2026-34839

| EUVDEUVD-2026-23986 HIGH
Information Exposure (CWE-200)
2026-04-21 security-advisories@github.com GHSA-gfc2-9qmw-w7vh
7.7
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim browses to attacker website
  2. Delivery
    Malicious JavaScript executes in browser
  3. Exploit
    Cross-origin API requests to Glances endpoints
  4. Execution
    Retrieve system metrics JSON response
  5. Persist
    Exfiltrate data to attacker server
  6. Impact
    Reconnaissance 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Apr 21, 2026 - 00:37 CVSS 7.7

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

Glances < 4.5.4
Glances < 4.5.4

Affected Packages

pypi glances fix: 4.5.4

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

Vendor (github) PRIMARY 7.7 HIGH
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
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch released
Apr 24, 2026 - 19:09 nvd
Patch available
Patch available
Apr 21, 2026 - 16:01 EUVD
CVE Published
Apr 21, 2026 - 00:16 nvd
HIGH 7.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2
CVE-2021-23418 CRITICAL POC
9.8 Jul 29

The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse unt

CVE-2026-68518 HIGH POC
8.8 Aug 17

Command injection in Glances prior to 4.5.6 allows a local unprivileged user to execute arbitrary shell commands when ad

CVE-2026-30928 HIGH POC
7.5 Mar 10

Glances is an open-source system cross-platform monitoring tool. versions up to 4.5.1 is affected by information exposur

CVE-2026-62982 HIGH
8.8 Aug 17

Command injection in Glances system monitoring (versions 4.5.2 through 4.5.5) allows a local attacker with process-execu

CVE-2026-30930 HIGH
7.3 Mar 10

SQL injection in Glances TimescaleDB export module allows local attackers to execute arbitrary SQL commands against the

CVE-2026-68519 HIGH
7.1 Aug 17

Glances versions through 4.5.5 contain an incomplete fix for CVE-2026-53925: the `--disable-config-exec` flag correctly

CVE-2026-68517 MEDIUM
6.5 Aug 17

Glances REST API prior to 4.5.6 exposes authenticated system monitoring data to untrusted cross-origin websites due to a

CVE-2026-133465 MEDIUM
6.5 Nov 25

Argument injection in Glances on-alert action handling, in versions prior to 4.5.7, lets an attacker who can influence a

CVE-2026-35588 MEDIUM
6.3 Apr 21

Cassandra export module in Glances prior to version 4.5.4 allows local privilege-escalated users to redirect monitoring

CVE-2026-68520 MEDIUM
5.3 Aug 17

Credential disclosure in Glances prior to 4.5.6 allows unauthenticated remote attackers to retrieve plaintext usernames

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy