id: PYSEC-2026-2176 published: "2026-04-21T00:16:29.030Z" modified: "2026-07-13T05:48:56.768905Z" aliases: - CVE-2026-35587 - GHSA-g5pq-48mj-jvw8 details: "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." affected: - package: name: glances ecosystem: PyPI purl: pkg:pypi/glances ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 4.5.4 versions: - 1.3.1 - 1.3.2 - 1.3.3 - 1.3.4 - 1.3.5 - 1.3.6 - 1.3.7 - "1.4" - 1.4.1 - 1.4.1.1 - 1.4.2 - 1.4.2.1 - "1.5" - 1.5.1 - 1.5.2 - "1.6" - 1.6.1 - "1.7" - 1.7.1 - 1.7.2 - 1.7.3 - 1.7.4 - 1.7.5 - 1.7.6 - 1.7.7 - "2.0" - 2.0.1 - "2.1" - 2.1.1 - 2.1.2 - "2.10" - "2.11" - 2.11.1 - "2.2" - 2.2.1 - "2.3" - "2.4" - 2.4.1 - 2.4.2 - "2.5" - 2.5.1 - "2.6" - 2.6.1 - 2.6.2 - "2.7" - 2.7.1 - "2.8" - 2.8.1 - 2.8.2 - 2.8.3 - 2.8.4 - 2.8.5 - 2.8.6 - 2.8.7 - 2.8.8 - 2.9.0 - 2.9.1 - "3.0" - 3.0.1 - 3.0.2 - 3.1.0 - 3.1.1 - 3.1.2 - 3.1.3 - 3.1.4 - 3.1.4.1 - 3.1.5 - 3.1.6 - 3.1.6.1 - 3.1.6.2 - 3.1.7 - 3.2.0 - 3.2.1 - 3.2.2 - 3.2.3 - 3.2.3.1 - 3.2.4 - 3.2.4.1 - 3.2.4.2 - 3.2.5 - 3.2.6.1 - 3.2.6.2 - 3.2.6.3 - 3.2.6.4 - 3.2.7 - 3.3.0 - 3.3.0.1 - 3.3.0.2 - 3.3.0.3 - 3.3.0.4 - 3.3.1 - 3.3.1.1 - 3.4.0 - 3.4.0.1 - 3.4.0.2 - 3.4.0.3 - 3.4.0.4 - 3.4.0.5 - 4.0.1 - 4.0.2 - 4.0.3 - 4.0.4 - 4.0.5 - 4.0.6 - 4.0.7 - 4.0.8 - 4.1.0 - 4.1.1 - 4.1.2 - 4.2.0 - 4.2.1 - 4.3.0 - 4.3.0.1 - 4.3.0.3 - 4.3.0.4 - 4.3.0.5 - 4.3.0.6 - 4.3.0.7 - 4.3.0.8 - 4.3.1 - 4.3.2 - 4.3.3 - 4.4.0 - 4.4.1 - 4.5.0 - 4.5.0.1 - 4.5.0.2 - 4.5.0.3 - 4.5.0.4 - 4.5.0.5 - 4.5.1 - 4.5.2 - 4.5.3 ecosystem_specific: {} references: - type: FIX url: https://github.com/nicolargo/glances/commit/d6808be66728956477cc4b544bab1acd71ac65fb - type: EVIDENCE url: https://github.com/nicolargo/glances/security/advisories/GHSA-g5pq-48mj-jvw8 severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H