{
  "id": "CVE-2026-34839",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34839",
  "published_at": "2026-04-20T23:09:02.551Z",
  "title": "Glances Vulnerable to Cross-Origin Information Disclosure via Unauthenticated REST API (/api/4) due to Permissive CORS",
  "vendor": "nicolargo",
  "product": "glances",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-200",
  "cpes": [
    "cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nicolargo",
        "product": "glances",
        "ranges": [
          "\u003c 4.5.4"
        ],
        "fixed_in": [
          "4.5.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade glances to 4.5.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nicolargo/glances/security/advisories/GHSA-gfc2-9qmw-w7vh"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nicolargo/glances/commit/fdfb977b1d91b5e410bc06c4e19f8bedb0005ce9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
