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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T23:09:02.551Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-gfc2-9qmw-w7vh, PYSEC-2026-2175
- Weaknesses: CWE-200, CWE-306, CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- nicolargo glances: < 4.5.4; before 4.5.4
- glances (PyPI): before 4.5.4

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nicolargo/glances/security/advisories/GHSA-gfc2-9qmw-w7vh> (exploit, evidence, vendor-advisory, web)
- <https://github.com/nicolargo/glances/commit/fdfb977b1d91b5e410bc06c4e19f8bedb0005ce9> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34839> (advisory)
- <https://github.com/nicolargo/glances> (package)

## Sources

- CVE List: [CVE-2026-34839](https://www.cve.org/CVERecord?id=CVE-2026-34839), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-gfc2-9qmw-w7vh](https://github.com/advisories/GHSA-gfc2-9qmw-w7vh), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-34839](https://nvd.nist.gov/vuln/detail/CVE-2026-34839), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2175](https://osv.dev/vulnerability/PYSEC-2026-2175), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34839 · Whole record: https://cve.day/CVE-2026-34839.json · Rebuilt by cve.day 2026-11-25T22:59:19.068Z
