CVE-2026-35587

Glances IP Plugin has SSRF via public_api that leads to credential leakage

Published Apr 20, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The Glances IP plugin contains an SSRF flaw (CWE-918). The public_api parameter is used as‑is in outbound HTTP requests, without scheme or hostname validation. An attacker who can modify the Glances configuration can force the application to send requests to arbitrary internal or external endpoints. If public_username and public_password are set, these credentials are automatically included in the Authorization: Basic header, thereby leaking them to the target endpoint. This flaw allows an attacker to access internal network services, retrieve sensitive data from cloud metadata endpoints, and/or exfiltrate credentials via outbound HTTP.

Affected Systems

The vulnerability affects the open‑source system monitoring tool Glances provided by nicolargo. Versions prior to 4.5.4 are vulnerable; the fix is available in version 4.5.4 and later.

Risk and Exploitability

The CVSS score of 7.3 indicates high severity. The EPSS score is less than 1%, and the vulnerability is not listed in the CISA KEV catalog. Exploitability requires the attacker to have the ability to modify Glances configuration or otherwise inject custom values for the public_api parameter. From the description, the likely attack vector is local configuration tampering or a privileged interface that can alter the config. Once the flaw is triggered, the application can reach any endpoint accessible from the host, including internal services, cloud metadata servers, or attacker‑controlled servers, potentially leaking authentication credentials. The high CVSS score combined with unrestricted outbound connectivity highlights significant risk if not patched promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Glances to version 4.5.4 or later to apply the official patch.
  • If upgrading is not immediately possible, reconfigure the Glances IP plugin to remove or secure the public_api parameter—disable it or restrict it to trusted hosts, and eliminate public_username and public_password from the configuration until the update can be made.
  • As a temporary measure, block outbound connections from the Glances process using a firewall or network policy until the CVE is fixed.

Generated by OpenCVE AI on April 21, 2026 at 23:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g5pq-48mj-jvw8 Glances has SSRF in IP Plugin via public_api leading to credential leakage
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nicolargo
Nicolargo glances
Vendors & Products Nicolargo
Nicolargo glances
Type Values Removed Values Added
Description 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.
Title Glances IP Plugin has SSRF via public_api that leads to credential leakage
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 7.3, 'vector': '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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2026, 2:01 PM
Reserved
Apr 3, 2026, 8:09 PM
Status
Analyzed
Published
Apr 21, 2026, 12:16 AM
Modified
Oct 26, 2026, 10:10 PM