{"id":"CVE-2026-34839","published":"2026-04-20T23:09:02Z","modified":"2026-04-21T19:37:42Z","title":"Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS","vendor":"nicolargo","product":"glances","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00424,"percentile":0.37561,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-gfc2-9qmw-w7vh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/commit/fdfb977b1d91b5e410bc06c4e19f8bedb0005ce9","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.51},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"nicolargo","affectedVersions":[{"vendor":"nicolargo","product":"glances","versions":["< 4.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-21T19:37:18.710681Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Glances","vulnerableRanges":["<4.5.4"],"patched":["4.5.4"],"from":["GHSA-gfc2-9qmw-w7vh","PYSEC-2026-2175"],"provenance":"source"}],"summary":{"text":"The Glances system monitoring tool, prior to version 4.5.4, exposes an unauthenticated REST API under /api/4/* from its web server, and a permissive CORS policy (Access-Control-Allow-Origin: *) lets it be read from any origin. An attacker who lures a victim's browser to a malicious website, while a Glances instance is running and reachable from that browser, can read sensitive system information from the API and exfiltrate it cross-origin, requiring no credentials and no network access beyond what the victim's browser already has.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:26Z"},"euvd":{"id":"EUVD-2026-23986","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-32634","published":"2026-03-18","fixed":"4.5.2","kev":false},{"cve":"CVE-2026-33533","published":"2026-04-02","fixed":"4.5.3","kev":false},{"cve":"CVE-2026-33641","published":"2026-04-02","fixed":"4.5.3","kev":false,"link":{"from":"CVE-2026-33641","to":"CVE-2026-34839","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Glances","fromFixed":"4.5.3","toFixed":"4.5.4","daysApart":18}]}},{"cve":"CVE-2026-34839","published":"2026-04-20","fixed":"4.5.4","kev":false}],"package":"PyPI:Glances"}}