Skip to content
OpenAdvisories
High · 7.7 CVE-2026-34839 EUVD-2026-23986GHSA-gfc2-9qmw-w7vhPYSEC-2026-2175

Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS

Published Apr 20, 2026 · Updated Apr 21, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
nicolargo glances < 4.5.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glances 4.5.4+dfsg-1 —
Debian 13 glances No fix yet —
Debian 12 glances No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 glances No fix yet —
Ubuntu 26.04 LTS glances No fix yet —
Ubuntu 25.10 glances No fix yet —
Ubuntu 24.04 LTS glances No fix yet —
Ubuntu 22.04 LTS glances No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glances No fix yet —
Ubuntu Pro 18.04 LTS glances No fix yet —
Ubuntu Pro 16.04 LTS glances No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Glances 4.5.4-1.1 openSUSE-SU-2026:10602-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI glances < 4.5.4 4.5.4 GHSA-gfc2-9qmw-w7vh

Advisories 1

References