Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/glances@4.0.8
purl pkg:pypi/glances@4.0.8
Next non-vulnerable version 4.5.4
Latest non-vulnerable version 4.5.4
Risk 10.0
Vulnerabilities affecting this package (15)
Vulnerability Summary Fixed by
VCID-1zjq-8g1r-rkbb
Aliases:
CVE-2026-32634
GHSA-vx5f-957p-qpvm
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, in Central Browser mode, Glances stores both the Zeroconf-advertised server name and the discovered IP address for dynamic servers, but later builds connection URIs from the untrusted advertised name instead of the discovered IP. When a dynamic server reports itself as protected, Glances also uses that same untrusted name as the lookup key for saved passwords and the global `[passwords] default` credential. An attacker on the same local network can advertise a fake Glances service over Zeroconf and cause the browser to automatically send a reusable Glances authentication secret to an attacker-controlled host. This affects the background polling path and the REST/WebUI click-through path in Central Browser mode. Version 4.5.2 fixes the issue.
4.5.2
Affected by 5 other vulnerabilities.
VCID-35gx-y6hg-qfe7
Aliases:
CVE-2026-33641
GHSA-qhj7-v7h7-q4c7
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.3, Glances supports dynamic configuration values in which substrings enclosed in backticks are executed as system commands during configuration parsing. This behavior occurs in Config.get_value() and is implemented without validation or restriction of the executed commands. If an attacker can modify or influence configuration files, arbitrary commands will execute automatically with the privileges of the Glances process during startup or configuration reload. In deployments where Glances runs with elevated privileges (e.g., as a system service), this may lead to privilege escalation. This issue has been patched in version 4.5.3.
4.5.3
Affected by 3 other vulnerabilities.
VCID-6bdp-jdhy-xygt
Aliases:
CVE-2026-34839
GHSA-gfc2-9qmw-w7vh
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.4, the Glances web server exposes a REST API (`/api/4/*`) that is accessible without authentication and allows cross-origin requests from any origin due to a permissive CORS policy (`Access-Control-Allow-Origin: *`). This allows a malicious website to read sensitive system information from a running Glances instance in the victim’s browser, leading to cross-origin data exfiltration. While a previous advisory exists for XML-RPC CORS issues, this report demonstrates that the REST API (`/api/4/*`) is also affected and exposes significantly more sensitive data. Version 4.5.4 patches the issue.
4.5.4
Affected by 0 other vulnerabilities.
VCID-7quj-ty9f-b3d9
Aliases:
CVE-2026-32596
GHSA-wvxv-4j8q-4wjq
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.2, Glances web server runs without authentication by default when started with `glances -w`, exposing REST API with sensitive system information including process command-lines containing credentials (passwords, API keys, tokens) to any network client. Version 4.5.2 fixes the issue.
4.5.2
Affected by 5 other vulnerabilities.
VCID-8x7t-qctq-ufgp
Aliases:
CVE-2026-30928
GHSA-gh4x-f7cq-wwx6
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.1, the /api/4/config REST API endpoint returns the entire parsed Glances configuration file (glances.conf) via self.config.as_dict() with no filtering of sensitive values. The configuration file contains credentials for all configured backend services including database passwords, API tokens, JWT signing keys, and SSL key passwords. This vulnerability is fixed in 4.5.1.
4.5.1
Affected by 13 other vulnerabilities.
VCID-drjj-2c7n-huhs
Aliases:
CVE-2026-32611
GHSA-49g7-2ww7-3vf5
Glances is an open-source system cross-platform monitoring tool. The GHSA-x46r fix (commit 39161f0) addressed SQL injection in the TimescaleDB export module by converting all SQL operations to use parameterized queries and `psycopg.sql` composable objects. However, the DuckDB export module (`glances/exports/glances_duckdb/__init__.py`) was not included in this fix and contains the same class of vulnerability: table names and column names derived from monitoring statistics are directly interpolated into SQL statements via f-strings. While DuckDB INSERT values already use parameterized queries (`?` placeholders), the DDL construction and table name references do not escape or parameterize identifier names. Version 4.5.3 provides a more complete fix.
4.5.2
Affected by 5 other vulnerabilities.
VCID-e92n-p49s-dyez
Aliases:
CVE-2026-32633
GHSA-r297-p3v4-wp8m
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, in Central Browser mode, the `/api/4/serverslist` endpoint returns raw server objects from `GlancesServersList.get_servers_list()`. Those objects are mutated in-place during background polling and can contain a `uri` field with embedded HTTP Basic credentials for downstream Glances servers, using the reusable pbkdf2-derived Glances authentication secret. If the front Glances Browser/API instance is started without `--password`, which is supported and common for internal network deployments, `/api/4/serverslist` is completely unauthenticated. Any network user who can reach the Browser API can retrieve reusable credentials for protected downstream Glances servers once they have been polled by the browser instance. Version 4.5.2 fixes the issue.
4.5.2
Affected by 5 other vulnerabilities.
VCID-f64n-cvxz-x7du
Aliases:
CVE-2026-35587
GHSA-g5pq-48mj-jvw8
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.
4.5.4
Affected by 0 other vulnerabilities.
VCID-fs9k-827n-rbc3
Aliases:
CVE-2026-32632
GHSA-hhcg-r27j-fhv9
Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue.
4.5.2
Affected by 5 other vulnerabilities.
VCID-ghkc-afh4-jkgr
Aliases:
CVE-2026-33533
GHSA-7p93-6934-f4q7
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.3, the Glances XML-RPC server (activated with glances -s or glances --server) sends Access-Control-Allow-Origin: * on every HTTP response. Because the XML-RPC handler does not validate the Content-Type header, an attacker-controlled webpage can issue a CORS "simple request" (POST with Content-Type: text/plain) containing a valid XML-RPC payload. The browser sends the request without a preflight check, the server processes the XML body and returns the full system monitoring dataset, and the wildcard CORS header lets the attacker's JavaScript read the response. The result is complete exfiltration of hostname, OS version, IP addresses, CPU/memory/disk/network stats, and the full process list including command lines (which often contain tokens, passwords, or internal paths). This issue has been patched in version 4.5.3.
4.5.3
Affected by 3 other vulnerabilities.
VCID-h1um-9b55-4qht
Aliases:
CVE-2026-30930
GHSA-x46r-mf5g-xpr6
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.1, The TimescaleDB export module constructs SQL queries using string concatenation with unsanitized system monitoring data. The normalize() method wraps string values in single quotes but does not escape embedded single quotes, making SQL injection trivial via attacker-controlled data such as process names, filesystem mount points, network interface names, or container names. This vulnerability is fixed in 4.5.1.
4.5.1
Affected by 13 other vulnerabilities.
VCID-q9ky-1rvd-cygm
Aliases:
CVE-2026-32608
GHSA-vcv2-q258-wrg7
Glances is an open-source system cross-platform monitoring tool. The Glances action system allows administrators to configure shell commands that execute when monitoring thresholds are exceeded. These commands support Mustache template variables (e.g., `{{name}}`, `{{key}}`) that are populated with runtime monitoring data. The `secure_popen()` function, which executes these commands, implements its own pipe, redirect, and chain operator handling by splitting the command string before passing each segment to `subprocess.Popen(shell=False)`. Prior to 4.5.2, when a Mustache-rendered value (such as a process name, filesystem mount point, or container name) contains pipe, redirect, or chain metacharacters, the rendered command is split in unintended ways, allowing an attacker who controls a process name or container name to inject arbitrary commands. Version 4.5.2 fixes the issue.
4.5.2
Affected by 5 other vulnerabilities.
VCID-s51f-vm48-a3gd
Aliases:
CVE-2026-35588
GHSA-grp3-h8m8-45p7
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.4, the Cassandra export module (`glances/exports/glances_cassandra/__init__.py`) interpolates `keyspace`, `table`, and `replication_factor` configuration values directly into CQL statements without validation. A user with write access to `glances.conf` can redirect all monitoring data to an attacker-controlled Cassandra keyspace. Version 4.5.4 contains a fix.
4.5.4
Affected by 0 other vulnerabilities.
VCID-svpw-cbx8-aqe9
Aliases:
CVE-2026-32610
GHSA-9jfm-9rc6-2hfq
Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, the Glances REST API web server ships with a default CORS configuration that sets `allow_origins=["*"]` combined with `allow_credentials=True`. When both of these options are enabled together, Starlette's `CORSMiddleware` reflects the requesting `Origin` header value in the `Access-Control-Allow-Origin` response header instead of returning the literal `*` wildcard. This effectively grants any website the ability to make credentialed cross-origin API requests to the Glances server, enabling cross-site data theft of system monitoring information, configuration secrets, and command line arguments from any user who has an active browser session with a Glances instance. Version 4.5.2 fixes the issue.
4.5.2
Affected by 5 other vulnerabilities.
VCID-vym9-cue3-3qc8
Aliases:
CVE-2026-32609
GHSA-cvwp-r2g2-j824
Glances is an open-source system cross-platform monitoring tool. The GHSA-gh4x fix (commit 5d3de60) addressed unauthenticated configuration secrets exposure on the `/api/v4/config` endpoints by introducing `as_dict_secure()` redaction. However, the `/api/v4/args` and `/api/v4/args/{item}` endpoints were not addressed by this fix. These endpoints return the complete command-line arguments namespace via `vars(self.args)`, which includes the password hash (salt + pbkdf2_hmac), SNMP community strings, SNMP authentication keys, and the configuration file path. When Glances runs without `--password` (the default), these endpoints are accessible without any authentication. Version 4.5.2 provides a more complete fix.
4.5.2
Affected by 5 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-12T22:11:42.169154+00:00 GitLab Importer Affected by VCID-s51f-vm48-a3gd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-35588.yml 38.6.0
2026-06-12T22:11:34.616053+00:00 GitLab Importer Affected by VCID-6bdp-jdhy-xygt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-34839.yml 38.6.0
2026-06-12T22:11:26.696523+00:00 GitLab Importer Affected by VCID-f64n-cvxz-x7du https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-35587.yml 38.6.0
2026-06-12T21:43:16.615757+00:00 GitLab Importer Affected by VCID-35gx-y6hg-qfe7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-33641.yml 38.6.0
2026-06-12T21:42:43.043605+00:00 GitLab Importer Affected by VCID-ghkc-afh4-jkgr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-33533.yml 38.6.0
2026-06-12T21:30:04.941263+00:00 GitLab Importer Affected by VCID-vym9-cue3-3qc8 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32609.yml 38.6.0
2026-06-12T21:30:04.338685+00:00 GitLab Importer Affected by VCID-drjj-2c7n-huhs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32611.yml 38.6.0
2026-06-12T21:29:59.618196+00:00 GitLab Importer Affected by VCID-svpw-cbx8-aqe9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32610.yml 38.6.0
2026-06-12T21:29:58.994457+00:00 GitLab Importer Affected by VCID-7quj-ty9f-b3d9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32596.yml 38.6.0
2026-06-12T21:29:41.678675+00:00 GitLab Importer Affected by VCID-fs9k-827n-rbc3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32632.yml 38.6.0
2026-06-12T21:29:37.548472+00:00 GitLab Importer Affected by VCID-q9ky-1rvd-cygm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32608.yml 38.6.0
2026-06-12T21:29:36.626480+00:00 GitLab Importer Affected by VCID-e92n-p49s-dyez https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32633.yml 38.6.0
2026-06-12T21:29:35.830969+00:00 GitLab Importer Affected by VCID-1zjq-8g1r-rkbb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-32634.yml 38.6.0
2026-06-12T21:19:43.983853+00:00 GitLab Importer Affected by VCID-h1um-9b55-4qht https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-30930.yml 38.6.0
2026-06-12T21:19:22.155091+00:00 GitLab Importer Affected by VCID-8x7t-qctq-ufgp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Glances/CVE-2026-30928.yml 38.6.0