Vulnerability · Published Apr 20, 2026 · Assigned by GitHub_M

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

High 7.7

In plain English

A high-severity information exposure in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.7High
Exploit odds (30 days)0.4%top 64.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12glancesno fix listedDEBIAN-CVE-2026-34839
Debian:13glancesno fix listedDEBIAN-CVE-2026-34839
Debian:14glances4.5.4+dfsg-1DEBIAN-CVE-2026-34839
PyPIglances4.5.4GHSA-gfc2-9qmw-w7vh
PyPIglances4.5.4PYSEC-2026-2175
Ubuntu:22.04:LTSglancesno fix listedUBUNTU-CVE-2026-34839
Ubuntu:24.04:LTSglancesno fix listedUBUNTU-CVE-2026-34839
Ubuntu:25.10glancesno fix listedUBUNTU-CVE-2026-34839
Ubuntu:26.04:LTSglancesno fix listedUBUNTU-CVE-2026-34839
Ubuntu:26.10glancesno fix listedUBUNTU-CVE-2026-34839

Affected products (as reported)

VendorProductVersions
nicolargo glances < 4.5.4

Weakness: CWE-200, CWE-942, CWE-306 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

References