CVE-2026-32632: Glances REST/WebUI Exposed to DNS Rebinding Due to Lack of Host Validation

glances Updated 16 Mar 2026

Summary

16/03/2026
Yes i
Moderate
5.9

CVE-2026-32632: Glances's REST/WebUI Lacks Host Validation and Remains Exposed to DNS Rebinding. Affects glances versions < 4.5.2. Fixed in 4.5.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Glances is a real-time monitoring tool that provides insights into system performance and resource usage. It offers a web-based interface and REST API for users to access system metrics. However, the application has a vulnerability that allows attackers to exploit DNS rebinding attacks due to insufficient host validation, potentially exposing sensitive data.

Vulnerability Detail

The vulnerability arises from Glances' REST/WebUI FastAPI application, which does not validate the 'Host' headers in incoming requests. This oversight allows attackers to exploit DNS rebinding attacks, where a victim's browser can be tricked into treating an attacker-controlled domain as the same origin as the Glances service. As a result, the attacker can access sensitive API endpoints and potentially read internal data that should be restricted to local or internal networks. The lack of host validation middleware, such as TrustedHostMiddleware, exacerbates this issue, making it easier for attackers to exploit the vulnerability.

How To Fix

Minimum fixed version

4.5.2

This is the first release that contains the fix.

pip install --upgrade "glances==4.5.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If you cannot update to the patched version immediately, consider restricting access to the Glances service by binding it to specific IP addresses instead of '0.0.0.0'. For example, you can bind it to '127.0.0.1' to limit access to localhost only.

Conclusion

The vulnerability identified as CVE-2026-32632 in Glances exposes the application to DNS rebinding attacks due to a lack of host validation in its REST/WebUI interface. It is crucial to update to version 4.5.2 or later to mitigate this risk and implement host allowlist enforcement to protect sensitive data.

See every vulnerability recorded for glances →

Share this vulnerability

FAQ

DNS rebinding is an attack technique that allows an attacker to manipulate the DNS resolution of a domain, enabling them to bypass the same-origin policy in web browsers.

You can use Vulert's playground at Vulert Scanner to monitor and alert in real-time for open-source vulnerabilities in your software without requiring access to the code or installation.

The vulnerability can lead to unauthorized access to sensitive data, bypassing of origin-based browser isolation, and exposure of internal REST data that should be protected.

Yes, the CVSS score for this vulnerability is 5.9, indicating a moderate severity level.

If an immediate update is not possible, consider implementing access restrictions by binding the Glances service to specific IP addresses to limit exposure.

Related vulnerabilities

Recent vulnerabilities recorded for glances.

How To Fix

Minimum fixed version

4.5.2

This is the first release that contains the fix.

pip install --upgrade "glances==4.5.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.