CVE-2026-35587
Description
A flaw was found in Glances, an open-source system monitoring tool. An attacker with the ability to modify the Glances configuration can exploit a Server-Side Request Forgery (SSRF) vulnerability. This flaw, caused by improper validation of the public_api configuration parameter, allows the attacker to force the application to send requests to arbitrary internal or external network endpoints. This can lead to unauthorized access to internal services, retrieval of sensitive data, and potential leakage of credentials to attacker-controlled servers.
Statement
Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.
Mitigation
To mitigate this issue, ensure strict control over Glances configuration files to prevent unauthorized modification of the `public_api` parameter. If not required, avoid configuring `public_api`, `public_username`, and `public_password`. Additionally, restrict network access to the Glances server to trusted clients only, for example, by configuring firewall rules to limit inbound connections to the Glances service port.
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Application Data
Integrity
Technical Impact: Execute Unauthorized Code or Commands
Access Control
Technical Impact: Bypass Protection Mechanism
By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.