Advisory

PYSEC-2026-2175

Also known as: CVE-2026-34839, GHSA-gfc2-9qmw-w7vh

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Dates

Published
2026-04-21 00:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

glances

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.4 (ecosystem)

Fixed versions

4.5.4

Fix

  • Fixed version 4.5.4
    pip install --upgrade glances==4.5.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences