Skip to main content

Glances CVE-2026-35587

| EUVDEUVD-2026-23990 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-21 security-advisories@github.com GHSA-g5pq-48mj-jvw8
7.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Compromise admin credentials
  2. Delivery
    Modify glances.conf public_api parameter
  3. Exploit
    Trigger IP lookup in Glances
  4. Execution
    Application sends HTTP to attacker endpoint
  5. Persist
    Retrieve internal data or exfiltrate credentials
  6. Impact
    Pivot 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.

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

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

Alert me

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

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

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

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

3
Patch released
Apr 23, 2026 - 18:42 nvd
Patch available
Patch available
Apr 21, 2026 - 16:01 EUVD
CVE Published
Apr 21, 2026 - 00:16 nvd
HIGH 7.3

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 88% 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.0%
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

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

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 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: High
Product Status
openSUSE Tumbleweed Fixed

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