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-35587

CVE-2026-35587: Nicolargo Glances SSRF Vulnerability

CVE-2026-35587 is a Server-Side Request Forgery flaw in Nicolargo Glances that enables attackers to force arbitrary HTTP requests and leak credentials. This article covers technical details, affected versions, and patches.

Published: April 23, 2026

CVE-2026-35587 Overview

CVE-2026-35587 is a Server-Side Request Forgery (SSRF) vulnerability affecting Glances, a popular open-source cross-platform system monitoring tool. The vulnerability exists in the Glances IP plugin due to improper validation of the public_api configuration parameter. Prior to version 4.5.4, the public_api value is used directly in outbound HTTP requests without any scheme restriction or hostname/IP validation, allowing attackers who can modify the Glances configuration to force the application to send requests to arbitrary internal or external endpoints.

Critical Impact

When public_username and public_password are configured, Glances automatically includes these credentials in the Authorization: Basic header, resulting in credential leakage to attacker-controlled servers. This vulnerability enables access to internal network services, retrieval of sensitive data from cloud metadata endpoints, and exfiltration of credentials via outbound HTTP requests.

Affected Products

  • Nicolargo Glances versions prior to 4.5.4
  • Systems using the Glances IP plugin with public_api configuration
  • Deployments with public_username and public_password configured

Discovery Timeline

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

Technical Details for CVE-2026-35587

Vulnerability Analysis

This SSRF vulnerability in Glances stems from the IP plugin's handling of the public_api configuration parameter. The parameter value is passed directly to the HTTP client (urlopen_auth) without any validation, allowing unrestricted outbound connections to arbitrary endpoints. This design flaw enables attackers with configuration access to pivot through the Glances application to reach otherwise inaccessible internal services or exfiltrate sensitive credentials to external servers.

The vulnerability is particularly severe in cloud environments where metadata endpoints (such as AWS IMDSv1 at http://169.254.169.254) can be targeted to retrieve instance credentials and other sensitive information. The automatic inclusion of configured credentials in HTTP Basic Authentication headers amplifies the risk by enabling credential theft.

Root Cause

The root cause is the absence of input validation and URL scheme restrictions on the public_api configuration parameter in the Glances IP plugin. The implementation directly passes user-controlled configuration values to the urlopen_auth HTTP client function without validating the target URL scheme, hostname, or IP address. This allows arbitrary destinations including internal network addresses, localhost, and cloud metadata endpoints.

Attack Vector

The attack vector is network-based and requires the attacker to have the ability to modify the Glances configuration file. Once configuration access is obtained, the attacker can set the public_api parameter to point to internal services (cloud metadata endpoints, internal APIs, or administrative interfaces) or to an attacker-controlled server to capture credentials. The attack requires no user interaction once the malicious configuration is in place.

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

python
 """IP plugin."""
 
 import threading
+from urllib.parse import urlparse
+from urllib.request import Request, urlopen
 
 from glances.globals import get_ip_address, json_loads, urlopen_auth
 from glances.logger import logger

Source: GitHub Commit d6808be66728956477cc4b544bab1acd71ac65fb

The patch adds URL parsing capabilities (urlparse) to enable proper validation of the public_api parameter before making outbound requests.

Detection Methods for CVE-2026-35587

Indicators of Compromise

  • Unexpected outbound HTTP requests from Glances instances to internal IP ranges (e.g., 169.254.169.254, 10.x.x.x, 192.168.x.x)
  • Glances configuration files modified with unusual public_api values pointing to non-standard endpoints
  • HTTP requests containing Basic Authentication headers to untrusted external servers originating from Glances processes
  • Log entries showing connections to cloud metadata endpoints from the Glances application

Detection Strategies

  • Monitor network traffic from Glances instances for connections to internal IP ranges, localhost, or known cloud metadata endpoints
  • Implement file integrity monitoring on Glances configuration files to detect unauthorized modifications to public_api settings
  • Deploy network segmentation rules to restrict outbound connections from monitoring tools to approved endpoints only
  • Review authentication logs for unexpected credential usage patterns originating from Glances servers

Monitoring Recommendations

  • Configure SIEM alerts for outbound connections from Glances processes to private IP address ranges
  • Implement DNS logging to detect attempts to resolve internal hostnames through the Glances application
  • Monitor for HTTP Basic Authentication headers in outbound traffic from monitoring infrastructure
  • Set up configuration file change alerts using endpoint detection and response (EDR) solutions

How to Mitigate CVE-2026-35587

Immediate Actions Required

  • Upgrade Glances to version 4.5.4 or later immediately
  • Audit all Glances configuration files for suspicious public_api values
  • Rotate any credentials configured in public_username and public_password fields as a precaution
  • Implement network segmentation to restrict outbound connections from Glances instances

Patch Information

The vulnerability has been patched in Glances version 4.5.4. The fix introduces proper URL validation using urlparse to restrict the public_api parameter to safe destinations. Organizations should update to the patched version as soon as possible.

For more details, refer to the GitHub Security Advisory GHSA-g5pq-48mj-jvw8 and the security patch commit.

Workarounds

  • Restrict network access for Glances instances using firewall rules to prevent connections to internal networks and metadata endpoints
  • Remove or disable the public_api, public_username, and public_password configuration options if not required
  • Implement strict access controls on Glances configuration files to prevent unauthorized modifications
  • Deploy the IMDSv2 requirement on AWS instances to mitigate cloud metadata endpoint exploitation
bash
# Example: Restrict Glances outbound connections with iptables
# Block access to cloud metadata endpoints
iptables -A OUTPUT -d 169.254.169.254 -m owner --uid-owner glances -j DROP

# Block access to private IP ranges from Glances
iptables -A OUTPUT -d 10.0.0.0/8 -m owner --uid-owner glances -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -m owner --uid-owner glances -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -m owner --uid-owner glances -j DROP

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechNicolargo Glances

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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-918
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-g5pq-48mj-jvw8
  • Related CVEs
  • CVE-2026-35588: Nicolargo Glances SQLi Vulnerability

  • CVE-2026-32611: Nicolargo Glances SQLI Vulnerability

  • CVE-2026-32632: Nicolargo Glances CSRF 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