The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-34839

CVE-2026-34839: Glances Information Disclosure Vulnerability

CVE-2026-34839 is an information disclosure vulnerability in Glances that exposes sensitive system data through an unauthenticated REST API with permissive CORS settings. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 23, 2026

CVE-2026-34839 Overview

CVE-2026-34839 is a high-severity information disclosure vulnerability in Glances, an open-source cross-platform system 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 configuration 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 vulnerability demonstrates that the REST API (/api/4/*) is also affected and exposes significantly more sensitive data. The issue has been classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).

Critical Impact

Attackers can leverage a malicious web page to steal sensitive system monitoring data including CPU, memory, network, and process information from any Glances instance accessible to the victim's browser.

Affected Products

  • Glances versions prior to 4.5.4
  • Glances web server with REST API enabled (/api/4/*)
  • Installations running without authentication and default CORS configuration

Discovery Timeline

  • 2026-04-21 - CVE-2026-34839 published to NVD
  • 2026-04-21 - Last updated in NVD database

Technical Details for CVE-2026-34839

Vulnerability Analysis

The vulnerability exists in the Glances web server's REST API implementation, which by default exposes system monitoring endpoints without requiring authentication. Combined with a permissive CORS policy that sets Access-Control-Allow-Origin: *, this creates a dangerous attack surface where any website can make cross-origin requests to the Glances API and read the response data.

The REST API at /api/4/* provides comprehensive system monitoring data, including CPU usage, memory statistics, network interfaces, running processes, and other sensitive system metrics. An attacker can craft a malicious webpage that, when visited by a victim with an accessible Glances instance, silently exfiltrates this system information.

Root Cause

The root cause is a combination of two insecure default configurations:

  1. No Authentication Required: The Glances web server runs without authentication by default, allowing any client to access the REST API
  2. Permissive CORS Policy: The default CORS configuration uses Access-Control-Allow-Origin: *, which permits any origin to make cross-origin requests and read response data

This combination violates the Same-Origin Policy protections that browsers normally enforce, enabling cross-origin data theft attacks.

Attack Vector

The attack follows a cross-origin data exfiltration pattern:

  1. Attacker hosts a malicious webpage containing JavaScript code
  2. Victim visits the malicious page while having access to a Glances instance (e.g., on localhost or internal network)
  3. The malicious JavaScript makes fetch requests to the Glances REST API endpoints
  4. Due to the permissive CORS policy, the browser allows the JavaScript to read the API responses
  5. Sensitive system information is exfiltrated to the attacker's server

The following patch shows the security fix implemented in version 4.5.4:

python
         print(self._logo())
 
         # Security warnings
-        if not self.args.password:
-            is_localhost = self.args.bind_address in ('127.0.0.1', 'localhost', '::1')
+        cors_origins = self.config.get_list_value('outputs', 'cors_origins', default=["*"])
+        if not self.args.password and cors_origins == ["*"]:
             warn_lines = [
-                "WARNING: Glances web server is running WITHOUT authentication.",
+                "WARNING: Glances web server is running without authentication and with permissive",
+                "         CORS (Access-Control-Allow-Origin: *). Any web page reachable from your",
+                "         browser can read system metrics. Consider binding to 127.0.0.1, enabling",
+                "         authentication, or setting cors_origins in glances.conf.",
+                "         See https://glances.readthedocs.io/en/latest/api/restful.html#security",
             ]
+            print('\n'.join(warn_lines) + '\n')
+            logger.warning(
+                "Glances web server is running without authentication and with permissive CORS "
+                "(Access-Control-Allow-Origin: *)"
+            )
+        elif not self.args.password:
+            warn_lines = [
+                "WARNING: Glances web server is running without authentication.",
+            ]
+            is_localhost = self.args.bind_address in ('127.0.0.1', 'localhost', '::1')
             if is_localhost:
                 warn_lines.append("         Use --password to enable authentication.")
             else:

Source: GitHub Commit

Detection Methods for CVE-2026-34839

Indicators of Compromise

  • Unexpected cross-origin requests to Glances REST API endpoints (/api/4/*) in web server logs
  • Requests to Glances API from external or untrusted IP addresses
  • Unusual patterns of API access from browser-based clients
  • Network traffic showing Glances API responses being sent to external domains

Detection Strategies

  • Monitor web server access logs for requests to /api/4/* endpoints from unexpected origins
  • Implement network-level monitoring to detect cross-origin API requests
  • Review Glances configuration for missing authentication settings
  • Audit CORS headers in HTTP responses from Glances instances

Monitoring Recommendations

  • Enable detailed logging for the Glances web server to capture all API requests
  • Deploy network intrusion detection rules to identify suspicious cross-origin request patterns
  • Implement egress monitoring to detect potential data exfiltration from internal systems
  • Use SentinelOne to monitor for suspicious browser-based network activity targeting internal services

How to Mitigate CVE-2026-34839

Immediate Actions Required

  • Upgrade Glances to version 4.5.4 or later immediately
  • Enable authentication using the --password flag when starting the Glances web server
  • Restrict CORS origins to trusted domains by configuring cors_origins in glances.conf
  • Bind Glances to 127.0.0.1 or localhost if remote access is not required

Patch Information

The vulnerability has been patched in Glances version 4.5.4. The fix introduces improved warning messages for insecure configurations and provides clearer guidance on securing the REST API. For detailed information about the security fix, refer to the GitHub Security Advisory and the commit implementing the patch.

Workarounds

  • Enable authentication by starting Glances with the --password flag
  • Configure restrictive CORS origins in glances.conf to limit allowed origins
  • Bind the Glances web server to localhost only using --bind 127.0.0.1
  • Use network firewall rules to restrict access to Glances ports from untrusted networks
bash
# Configuration example
# Enable authentication when starting Glances web server
glances -w --password

# Or bind to localhost only to prevent remote access
glances -w --bind 127.0.0.1

# Configure CORS origins in glances.conf
# [outputs]
# cors_origins=https://trusted-domain.example.com

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGlances

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33533: Glances Information Disclosure Vulnerability

  • CVE-2026-30928: Glances Information Disclosure Vulnerability

  • CVE-2026-33641: Glances Privilege Escalation Vulnerability

  • CVE-2026-32610: Glances REST API CORS XSS 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