Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32632

CVE-2026-32632: Nicolargo Glances CSRF Vulnerability

CVE-2026-32632 is a CSRF flaw in Nicolargo Glances that allows DNS rebinding attacks to bypass same-origin protections. This post explains its impact, affected versions, and mitigation steps.

Published: March 20, 2026

CVE-2026-32632 Overview

CVE-2026-32632 is a DNS rebinding vulnerability affecting Glances, an open-source cross-platform system monitoring tool. Prior to version 4.5.2, the main REST/WebUI FastAPI application accepts arbitrary Host headers without applying TrustedHostMiddleware or an equivalent host allowlist. This allows attackers to bypass same-origin policy protections through DNS rebinding attacks, potentially exposing sensitive system monitoring data and API endpoints to malicious actors.

Critical Impact

Attackers can leverage DNS rebinding to access Glances REST API, WebUI, and token endpoints through attacker-controlled domains, bypassing browser same-origin protections and potentially accessing sensitive system monitoring information.

Affected Products

  • Nicolargo Glances versions prior to 4.5.2
  • Glances REST API endpoints
  • Glances WebUI interface

Discovery Timeline

  • 2026-03-18 - CVE CVE-2026-32632 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32632

Vulnerability Analysis

This vulnerability stems from the lack of host header validation in Glances' FastAPI application. While Glances had previously implemented DNS rebinding protection for the MCP endpoint, the main REST API and WebUI remained unprotected. The vulnerability is classified under CWE-346 (Origin Validation Error), indicating an improper validation of the origin of the request.

The attack requires user interaction—specifically, a victim must visit an attacker-controlled website while having access to a Glances instance on their network. Once the attacker's domain is rebound to the Glances service IP address, the browser treats requests to the malicious domain as same-origin with the Glances target, completely bypassing same-origin policy protections.

It's important to note that this is a distinct issue from typical CORS weaknesses. CORS headers are not required for exploitation because DNS rebinding causes the victim's browser to treat the malicious domain as same-origin with the target service.

Root Cause

The root cause is the absence of host header validation in the FastAPI application handling REST API and WebUI requests. Without TrustedHostMiddleware or an equivalent mechanism to validate incoming Host headers against an allowlist, the application accepts requests regardless of which domain they appear to originate from. This architectural oversight allows DNS rebinding attacks to succeed even when other security measures like CORS are properly configured.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker must:

  1. Control a domain and its DNS records
  2. Lure a victim to visit an attacker-controlled webpage
  3. Use DNS rebinding to point the attacker's domain to the victim's Glances instance IP
  4. Execute JavaScript in the victim's browser to make requests to the rebinding domain
  5. Access Glances API endpoints, WebUI, and token endpoints as if they were same-origin

The following patch shows how the vulnerability was addressed by implementing TrustedHostMiddleware:

python
            allow_headers=config.get_list_value('outputs', 'cors_headers', default=["*"]),
        )

+        # FastAPI Enable DNS rebinding protection via Host header validation
+        # When webui_allowed_hosts is configured, requests with a Host header
+        # not in the allowlist are rejected with 400 Bad Request.
+        if self.webui_allowed_hosts:
+            from starlette.middleware.trustedhost import TrustedHostMiddleware
+
+            self._app.add_middleware(TrustedHostMiddleware, allowed_hosts=self.webui_allowed_hosts)
+            logger.info(f"TrustedHostMiddleware enabled (allowed hosts: {self.webui_allowed_hosts})")
+
        # FastAPI Define routes
        # Token endpoint router (no authentication required) - must be added first
        if self.args.password and self._jwt_handler is not None:

Source: GitHub Commit Details

Detection Methods for CVE-2026-32632

Indicators of Compromise

  • Unusual or unexpected Host headers in Glances web server access logs that don't match legitimate hostnames
  • API requests originating from unfamiliar domains or IP addresses in server logs
  • Unexplained access to Glances WebUI or REST API from external networks
  • Authentication token requests from sources other than expected client systems

Detection Strategies

  • Monitor web server logs for requests containing Host headers that don't match configured server names or IP addresses
  • Implement network-level monitoring to detect DNS rebinding patterns, such as rapid DNS record changes for domains accessing internal services
  • Review Glances access logs for API calls originating from unexpected browser user-agents combined with unusual Host headers
  • Deploy intrusion detection rules to flag HTTP requests to internal services with external domain Host headers

Monitoring Recommendations

  • Enable verbose logging in Glances to capture all incoming request headers for forensic analysis
  • Configure network security tools to alert on DNS rebinding indicators such as TTL values near zero for domains accessing internal resources
  • Implement browser-side monitoring in corporate environments to detect JavaScript-based DNS rebinding exploitation attempts
  • Regularly audit Glances configuration files to ensure webui_allowed_hosts is properly configured after upgrading

How to Mitigate CVE-2026-32632

Immediate Actions Required

  • Upgrade Glances to version 4.5.2 or later immediately
  • Configure the webui_allowed_hosts setting in glances.conf with specific allowed hostnames and IP addresses
  • Restrict network access to Glances instances using firewall rules to limit exposure
  • Review access logs for any signs of exploitation prior to patching

Patch Information

The vulnerability is patched in Glances version 4.5.2. The fix introduces support for TrustedHostMiddleware via a new configuration option. Security patches are available through:

  • GitHub Release v4.5.2
  • GitHub Commit Details
  • GitHub Security Advisory GHSA-hhcg-r27j-fhv9

Workarounds

  • If upgrading is not immediately possible, place Glances behind a reverse proxy that validates Host headers before forwarding requests
  • Implement network segmentation to ensure Glances instances are not accessible from untrusted networks
  • Bind Glances to localhost only (127.0.0.1) if remote access is not required
  • Use VPN or SSH tunneling for remote access to Glances instead of exposing the service directly

The following configuration example shows how to enable DNS rebinding protection after upgrading:

text
# DNS rebinding protection for the REST API / WebUI
# Restrict the HTTP Host header accepted by the web server.
# Comma-separated list of hostnames or IPs. Wildcards are supported (e.g. *.example.com).
# When this key is absent or commented out, no host filtering is applied (default behaviour).
# Recommended for any internet-facing or multi-tenant deployment.
webui_allowed_hosts=localhost,127.0.0.1,myserver.example.com

Source: GitHub Commit Details

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechNicolargo Glances

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-346
  • Technical References
  • GitHub Release v4.5.2
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-hhcg-r27j-fhv9
  • Related CVEs
  • CVE-2026-35587: Nicolargo Glances SSRF Vulnerability

  • CVE-2026-35588: Nicolargo Glances SQLi Vulnerability

  • CVE-2026-32611: Nicolargo Glances SQLI Vulnerability

  • CVE-2026-32633: Glances Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English