Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credentials
-
DeliveryModify glances.conf public_api parameter
-
ExploitTrigger IP lookup in Glances
-
ExecutionApplication sends HTTP to attacker endpoint
-
PersistRetrieve internal data or exfiltrate credentials
-
ImpactPivot to internal services
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access with privileges to modify the Glances configuration file (typically requiring administrative or root-level filesystem permissions on the monitoring server). The public_api parameter must be utilized by the IP plugin - organizations not using geolocation lookups or those with public_api unset are not vulnerable. Attack complexity is low (AC:L) once configuration write access is obtained, as no special timing or race conditions are needed. Exploitation is limited to scenarios where: the attacker has already compromised credentials or gained filesystem access to modify glances.conf; the Glances instance has network connectivity to target internal resources or can reach attacker-controlled external servers; and the IP plugin is enabled in the deployment. Credential leakage specifically requires public_username and public_password to be configured - deployments without these parameters set avoid the credential disclosure component but remain vulnerable to SSRF for accessing internal endpoints. The vulnerability does NOT affect read-only monitoring clients or deployments with immutable configuration management preventing runtime config changes. |
| Impact | Real-world risk is moderate despite the 7.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:L) indicates network-accessible exploitation with low complexity but requires authenticated access (PR:L) to modify the Glances configuration file. SSVC framework confirms proof-of-concept code exists and exploitation is automatable, but technical impact is limited to partial confidentiality/integrity (VC:H/VI:H but no availability impact). EPSS score of 0.04% (12th percentile) suggests extremely low probability of mass exploitation in the wild, likely because exploitation requires pre-existing configuration file write access - a significant barrier limiting attack surface to scenarios where attackers have already compromised administrative credentials or configuration management systems. No CISA KEV listing indicates no confirmed active exploitation. The primary risk scenarios are: (1) compromised administrative accounts pivoting to internal network reconnaissance via SSRF, (2) credential harvesting when public_username/public_password are set, and (3) accessing cloud metadata endpoints (e.g., AWS 169.254.169.254) in cloud-hosted deployments. Organizations using Glances without the IP plugin's public_api feature or those with strict configuration file access controls face minimal risk. Priority should be highest for multi-tenant environments or deployments where Glances runs with network access to sensitive internal services. |
| Exploit ScenarioDerived | An attacker with compromised administrative credentials or configuration management access modifies the Glances configuration file, setting public_api to an internal service endpoint such as http://169.254.169.254/latest/meta-data/ (AWS metadata) or http://internal-admin-panel:8080/api/secrets. When Glances performs IP geolocation lookups, it automatically sends HTTP requests to the attacker-specified URL, potentially retrieving cloud credentials, internal API keys, or other sensitive data. If public_username and public_password are configured, these credentials are leaked via the Authorization header to an attacker-controlled external server specified in public_api, enabling credential harvesting for further attacks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 21, 2026
Server-Side Request Forgery in Glances IP plugin allows authenticated attackers to force the monitoring application to send HTTP requests to arbitrary internal or external endpoints, with automatic credential leakage when public_username and public_password are configured. The vulnerability affects all versions prior to 4.5.4 and arises from insufficient validation of the public_api configuration parameter. EPSS exploitation probability is low (0.04%, 12th percentile), but SSVC framework confirms proof-of-concept availability and automatable exploitation with partial technical impact. Vendor patch released in version 4.5.4.
Earlier versions of this analysis (1)
Server-Side Request Forgery in Glances IP plugin versions before 4.5.4 allows authenticated attackers with configuration modification access to force outbound HTTP requests to arbitrary internal or external endpoints, exfiltrating Basic Authentication credentials when configured. EPSS data not available for this recent CVE. Public exploit code exists (CVSS E:P), but no CISA KEV listing indicates exploitation remains targeted rather than widespread. The vulnerability enables access to cloud metadata endpoints and internal services typically unreachable from external networks.
RemediationAI
Upgrade to Glances version 4.5.4 or later, which contains input validation fixes preventing arbitrary URL schemes and hostname manipulation in the public_api parameter (patch commit: https://github.com/nicolargo/glances/commit/d6808be66728956477cc4b544bab1acd71ac65fb). Official release available at https://github.com/nicolargo/glances/releases/tag/v4.5.4. If immediate patching is not feasible, implement these compensating controls: disable the IP plugin entirely by removing it from the Glances configuration file (eliminates attack vector but loses geolocation functionality); if IP plugin is required, remove or leave unset the public_api, public_username, and public_password configuration parameters to prevent outbound API requests (loses external geolocation enrichment); restrict write access to Glances configuration files using filesystem permissions to prevent unauthorized modification (reduces attack surface but does not eliminate risk if administrative credentials are compromised). Network-level mitigation: deploy egress filtering to block Glances servers from accessing internal RFC1918 address ranges and cloud metadata endpoints (169.254.169.254, fd00:ec2::254) - this prevents SSRF exploitation of internal services but may break legitimate external API integrations. Each workaround trades functionality for security; full patching to 4.5.4 is strongly recommended.
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 cross-platform system monitoring tool written in Python that provides real-time performance metrics. The IP plugin supports querying external geolocation APIs via the public_api configuration parameter to enrich IP address information. The vulnerability stems from CWE-918 (Server-Side Request Forgery) - the application passes the public_api value directly to Python's HTTP client (urlopen_auth) without validating URI schemes, hostnames, or IP addresses. This allows attackers to exploit the trust relationship between the Glances server and internal network resources. When public_username and public_password are configured for API authentication, the application automatically constructs an Authorization: Basic header using these credentials and includes them in all outbound requests to the attacker-specified endpoint, resulting in credential disclosure. The affected component is specifically the IP plugin's geolocation lookup functionality, which was intended for legitimate external API services but lacks input sanitization.
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:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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, a Server-Side Request Forgery (SSRF) vulnerability exists in the Glances IP plugin due to improper validation of the public_api configuration parameter. The value of public_api is used directly in outbound HTTP requests without any scheme restriction or hostname/IP validation. An attacker who can modify the Glances configuration can force the application to send requests to arbitrary internal or external endpoints. Additionally, when public_username and public_password are set, Glances automatically includes these credentials in the Authorization: Basic header, resulting in credential leakage to attacker-controlled servers. This vulnerability can be exploited to access internal network services, retrieve sensitive data from cloud metadata endpoints, and/or exfiltrate credentials via outbound HTTP requests. The issue arises because public_api is passed directly to the HTTP client (urlopen_auth) without validation, allowing unrestricted outbound connections and unintended disclosure of sensitive information. Version 4.5.4 contains a patch.
Executive ViewAI
Glances IP plugin versions before 4.5.4 contain a server-side request forgery vulnerability that allows authenticated administrators to redirect the application to arbitrary internal or external servers, potentially exposing cloud metadata and internal service credentials. Organizations using Glances for infrastructure monitoring face credential compromise and unauthorized access to backend systems if configuration changes are made by compromised or malicious administrators.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce role-based access controls to restrict configuration modification to trusted administrators only; (2) Deploy network-level egress filtering via firewall rules to block Glances outbound connections to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and cloud metadata services; (3) Monitor Glances process for unexpected outbound HTTP connections; (4) Disable or isolate the IP plugin if not required for operations; (5) Audit recent configuration changes for suspicious modifications.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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-918 – Server-Side Request Forgery (SSRF)
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-23990
GHSA-g5pq-48mj-jvw8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB