# CVE-2026-35587: Glances IP Plugin has SSRF via public_api that leads to credential leakage

- Severity: High 7.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T23:19:02.908Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-g5pq-48mj-jvw8, PYSEC-2026-2176
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- nicolargo glances: < 4.5.4; before 4.5.4
- glances (PyPI): before 4.5.4

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nicolargo/glances/security/advisories/GHSA-g5pq-48mj-jvw8> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://github.com/nicolargo/glances/commit/d6808be66728956477cc4b544bab1acd71ac65fb> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35587> (advisory)
- <https://github.com/nicolargo/glances> (package)
- <https://github.com/nicolargo/glances/releases/tag/v4.5.4> (web)

## Sources

- CVE List: [CVE-2026-35587](https://www.cve.org/CVERecord?id=CVE-2026-35587), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-g5pq-48mj-jvw8](https://github.com/advisories/GHSA-g5pq-48mj-jvw8), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-35587](https://nvd.nist.gov/vuln/detail/CVE-2026-35587), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2176](https://osv.dev/vulnerability/PYSEC-2026-2176), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-35587 · Whole record: https://cve.day/CVE-2026-35587.json · Rebuilt by cve.day 2026-11-25T22:59:19.070Z
