{"cve":"CVE-2026-35587","nvd":{"published":"2026-04-21T00:16:29.030","modified":"2026-10-26T22:10:00.163","status":"Analyzed","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.","cvss_v4":{"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","score":7.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-918"],"references":["https://github.com/nicolargo/glances/commit/d6808be66728956477cc4b544bab1acd71ac65fb","https://github.com/nicolargo/glances/security/advisories/GHSA-g5pq-48mj-jvw8","https://github.com/nicolargo/glances/security/advisories/GHSA-g5pq-48mj-jvw8"],"products":["nicolargo:glances"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-35587","score":0.00396,"percentile":0.33609,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-g5pq-48mj-jvw8","url":"https://osv.dev/vulnerability/GHSA-g5pq-48mj-jvw8","summary":"Glances has SSRF in IP Plugin via public_api leading to credential leakage","modified":"2026-07-13T07:26:15.785014292Z","packages":[{"ecosystem":"PyPI","name":"glances","purl":"pkg:pypi/glances","ranges":["<4.5.4"],"fixed":["4.5.4"]}]},{"id":"PYSEC-2026-2176","url":"https://osv.dev/vulnerability/PYSEC-2026-2176","summary":"","modified":"2026-07-13T07:15:32.865376138Z","packages":[{"ecosystem":"PyPI","name":"glances","purl":"pkg:pypi/glances","ranges":["<4.5.4"],"fixed":["4.5.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}