SB2026080333 - Multiple vulnerabilities in glances
Published: August 3, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 vulnerabilities.
1) Command injection (CVE-ID: CVE-2026-53925)
CWE-ID: CWE-77 - Command injection
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to execute arbitrary commands and write arbitrary files.
The vulnerability exists due to improper neutralization of special elements in secure_popen() when processing AMP command or service_cmd configuration values from glances.conf. A local user can modify configuration values to inject redirection, piping, or command chaining operators to execute arbitrary commands and write arbitrary files.
The issue is not limited by the disable_config_exec setting because the vulnerable behavior occurs in secure_popen() operator handling after configuration values are loaded.
2) Origin validation error (CVE-ID: CVE-2026-46611)
CWE-ID: CWE-346 - Origin Validation Error
CVSSv4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to origin validation error in glances/server.py in GlancesXMLRPCHandler and GlancesXMLRPCServer when handling XML-RPC requests with an unvalidated Host header during DNS rebinding. A remote attacker can lure a victim into visiting an attacker-controlled web page and trigger crafted requests to disclose sensitive information.
User interaction is required, and exploitation depends on the victim's browser being able to reach the XML-RPC server.
3) Overly permissive cross-domain whitelist (CVE-ID: CVE-2026-46608)
CWE-ID: CWE-942 - Overly Permissive Cross-domain Whitelist
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to a permissive cross-domain security policy with untrusted domains in the XML-RPC server CORS handling when processing cross-origin requests to /RPC2. A remote attacker can serve a malicious web page that sends a crafted CORS simple request to disclose sensitive information.
User interaction is required, and the issue is triggered when the XML-RPC server is configured with two or more cors_origins entries.
4) Deserialization of Untrusted Data (CVE-ID: CVE-2026-46607)
CWE-ID: CWE-502 - Deserialization of Untrusted Data
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to deserialization of untrusted data in the Outdated._load_cache() method in glances/outdated.py when loading the version-check cache file from the XDG cache directory. A local user can write a malicious pickle file to the cache path to execute arbitrary code.
Exploitation requires version checking to be enabled, which is the default.
5) OS Command Injection (CVE-ID: CVE-2026-46606)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to execute arbitrary commands.
The vulnerability exists due to command injection in glances/plugins/vms/engines/virsh.py when processing VM domain names from virsh output. A local user can create or rename a KVM/QEMU virtual machine with a crafted domain name to execute arbitrary commands.
Exploitation requires the vms plugin to be enabled and virsh to be installed and executable.
Remediation
Install update from vendor's website.
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-3vwc-qwhc-3mj7
- https://github.com/nicolargo/glances/security/advisories/GHSA-w856-8p3r-p338
- https://github.com/nicolargo/glances/blob/04579778e733d705898a169e049dc84772c852da/glances/server.py
- https://github.com/nicolargo/glances/security/advisories/GHSA-87qc-fj39-wccr
- https://github.com/nicolargo/glances/blob/04579778e733d705898a169e049dc84772c852da/glances/server.py#L113
- https://github.com/nicolargo/glances/security/advisories/GHSA-9837-48hr-q32j
- https://github.com/nicolargo/glances/blob/04579778e733d705898a169e049dc84772c852da/glances/outdated.py#L121
- https://github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5
- https://github.com/nicolargo/glances/blob/04579778e733d705898a169e049dc84772c852da/glances/plugins/vms/engines/virsh.py#L185