SB2026080333 - Multiple vulnerabilities in glances



SB2026080333 - Multiple vulnerabilities in glances

Published: August 3, 2026

Security Bulletin ID SB2026080333
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 5
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 40% Low 60%
  • 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.