VDB
Sign up
MEDIUM6.5

PYSEC-2026-2175

Quick fix

PYSEC-2026-2175 — glances: upgrade to the fixed version with the command below.

pip install --upgrade 'glances>=4.5.4'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/glances
Introduced in: 0Fixed in: 4.5.4
Fixpip install --upgrade 'glances>=4.5.4'

References