Skip to content
Heist/ feed
Back to feed
Medium

Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding

Type: advisorySources: OSV

Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32632
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:57 UTC · Revision 1

Source evidence

Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding

core-osv · Original source

Published 18 Mar 2026, 17:47 UTC

Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue.

osv:CVE-2026-32632
Complete source record
{
  "id": "903ea7427c5bab10af237b23aae48a3b9c9f2110b398cef748d3ce8af9e04c2f",
  "url": "https://osv.dev/vulnerability/CVE-2026-32632",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding",
    "summary": "Glances is an open-source system cross-platform monitoring tool. Glances recently added DNS rebinding protection for the MCP endpoint, but prior to version 4.5.2, the main REST/WebUI FastAPI application still accepts arbitrary `Host` headers and does not apply `TrustedHostMiddleware` or an equivalent host allowlist. As a result, the REST API, WebUI, and token endpoint remain reachable through attacker-controlled domains in classic DNS rebinding scenarios. Once the victim browser has rebound the attacker domain to the Glances service, same-origin policy no longer protects the API because the browser considers the rebinding domain to be the origin. This is a distinct issue from the previously reported default CORS weakness. CORS is not required for exploitation here because DNS rebinding causes the victim browser to treat the malicious domain as same-origin with the rebinding target. Version 4.5.2 contains a patch for the issue.",
    "evidence": "osv:CVE-2026-32632",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-32632",
      "aliases": [
        "CVE-2026-32632",
        "GHSA-hhcg-r27j-fhv9",
        "PYSEC-2026-2171"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nicolargo/glances",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a56a5b78ef931b1d1391c9898bf735a5b4323ec9"
                },
                {
                  "fixed": "5850c564ee10804fdf884823b9c210eb954dd1f9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.5.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5850c564ee10804fdf884823b9c210eb954dd1f9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a56a5b78ef931b1d1391c9898bf735a5b4323ec9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.5.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.5.1",
            "v4.5.0.5",
            "v4.5.0.4",
            "v4.5.0.3",
            "v4.5.0.2",
            "v4.5.0.1",
            "v4.5.0",
            "v4.4.1",
            "v4.4.0",
            "v4.3.3",
            "v4.3.2",
            "v4.3.1",
            "v4.3.0.8",
            "v4.3.0.7",
            "v4.3.0.6",
            "v4.3.0.3",
            "v4.3.0.2",
            "v4.3.0.1",
            "v4.3.0",
            "v4.2.0",
            "v3.4.0",
            "v3.3.1",
            "v3.3.0.1",
            "v3.3.0",
            "v3.2.7",
            "v3.2.6",
            "v3.2.5",
            "v3.2.4.2",
            "v3.2.4.1",
            "v3.2.4",
            "v3.2.3.1",
            "v3.2.3",
            "v3.2.2",
            "v3.2.1",
            "v3.2.0",
            "v3.1.7",
            "v3.1.6.1",
            "v3.1.5",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0",
            "v2.11",
            "v2.10",
            "v2.9.1",
            "v2.9.0",
            "v2.8.8",
            "v2.8.7",
            "v2.8.6",
            "v2.8.5",
            "v2.8.4",
            "v2.8.3",
            "v2.8.2",
            "v2.8.1",
            "v2.8",
            "v2.7.1",
            "v2.7",
            "v2.7_RC1",
            "v2.5.1",
            "v2.5",
            "v2.4.2",
            "v2.4.1",
            "v2.3",
            "v2.2",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7",
            "v1.6.1",
            "v1.6",
            "v1.5.2",
            "v1.5.1",
            "v1.5",
            "v1.4.2.1",
            "v1.4.2",
            "v1.4.1.1",
            "v1.4.1",
            "v1.4",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3",
            "v1.2",
            "v1.1.3",
            "v1.1.2",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32632.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.205625092Z",
      "provider": "osv",
      "references": [
        "https://github.com/nicolargo/glances/releases/tag/v4.5.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32632.json",
        "https://github.com/nicolargo/glances/security/advisories/GHSA-hhcg-r27j-fhv9",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32632",
        "https://github.com/nicolargo/glances/commit/5850c564ee10804fdf884823b9c210eb954dd1f9"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-346"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32632.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32632",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489466,
  "published_at": "2026-03-18T17:47:25.929+00:00"
}