SSRF (Server-Side Request Forgery) in glances
Summary
SSRF in glances (CVE-2026-35587). Successful exploitation can lead to full system takeover. Exploitable via GET /ssrf-poc. Mitigation: upgrade to 4.5.4 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-35587 has been found in glances.
Attackers can target a specific entry point like GET /ssrf-poc over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: upgrade glances to 4.5.4 or later.
If unsure, ask your IT team or search "glances CVE-2026-35587" on the vendor's site.
CVE-2026-35587 (glances) — CWE-918
Attack vector: remote (network-reachable) / no user interaction
Attack surface: GET /ssrf-poc / Authorization header
Patched: 4.5.4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
SSRF (CWE-918) exists in glances. Attackers reach the vulnerable code path via GET /ssrf-poc.
Check the vendor advisory for the affected versions of glances. Attack surface: GET /ssrf-poc / Authorization header.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 4.5.4.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual GET /ssrf-poc requests with malformed payloads or SQL meta-characters. Run grep -r 'glances' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'glances' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
glancesを grep し、稼働しているサービス・バージョンを把握する。 -
2
Hunt for indicators of compromisedetect
grep 'GET /ssrf-poc' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
GET /ssrf-pocへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Apply patchpatch
Upgrade glances to 4.5.4ステージング環境で 4.5.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4
Post-deployment verificationverify
Replay attack against GET /ssrf-poc on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PyPIglances |
< 4.5.4→ 4.5.4 |
4.5.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-35587 glances Fix available
- Ubuntu UBUNTU-CVE-2026-35587 glances No fixed version in this record
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory nvd.nist.gov
- advisory github.com
- exploit github.com
- package github.com
- patch security-advisories@github.com
- web github.com