Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32610: CWE-942: Permissive Cross-domain Policy with Untrusted Domains in nicolargo glances

0
High
VulnerabilityCVE-2026-32610cvecve-2026-32610cwe-942
Published: Wed Mar 18 2026 (03/18/2026, 16:31:12 UTC)
Source: CVE Database V5
Vendor/Project: nicolargo
Product: glances

Description

Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, the Glances REST API web server ships with a default CORS configuration that sets `allow_origins=["*"]` combined with `allow_credentials=True`. When both of these options are enabled together, Starlette's `CORSMiddleware` reflects the requesting `Origin` header value in the `Access-Control-Allow-Origin` response header instead of returning the literal `*` wildcard. This effectively grants any website the ability to make credentialed cross-origin API requests to the Glances server, enabling cross-site data theft of system monitoring information, configuration secrets, and command line arguments from any user who has an active browser session with a Glances instance. Version 4.5.2 fixes the issue.

AI-Powered Analysis

AILast updated: 03/18/2026, 17:12:48 UTC

Technical Analysis

Glances is an open-source, cross-platform system monitoring tool that exposes a REST API web server for remote monitoring and management. Prior to version 4.5.2, Glances' REST API was configured with a default Cross-Origin Resource Sharing (CORS) policy that set allow_origins to ["*"] while simultaneously enabling allow_credentials=True. According to the CORS specification, the wildcard "*" cannot be used in conjunction with credentials, as it would allow any website to send credentialed requests and access sensitive data. However, Starlette's CORSMiddleware, used by Glances, reflects the Origin header value back in the Access-Control-Allow-Origin response header instead of returning the literal "*". This behavior effectively permits any website to perform credentialed cross-origin requests to the Glances API. Consequently, an attacker can craft a malicious website that, when visited by a user with an active Glances session, can steal sensitive information such as system monitoring data, configuration secrets, and command line arguments. The vulnerability is classified under CWE-942 (Permissive Cross-domain Policy with Untrusted Domains). Exploitation requires no authentication but does require user interaction (visiting a malicious website). The vulnerability has a CVSS 3.1 base score of 8.1 (high severity), reflecting its potential for high confidentiality and integrity impact without affecting availability. The issue was addressed in Glances version 4.5.2 by correcting the CORS configuration to prevent credentialed requests from untrusted origins.

Potential Impact

This vulnerability allows attackers to bypass same-origin policy protections and perform credentialed cross-origin requests to the Glances REST API. The impact includes unauthorized disclosure of sensitive system monitoring data, configuration secrets, and command line arguments, which could facilitate further attacks such as privilege escalation, lateral movement, or targeted exploitation of the monitored system. Organizations relying on Glances for system monitoring expose themselves to data theft risks if users access malicious websites while having active Glances sessions. The confidentiality and integrity of system data are at high risk, potentially leading to operational disruption or data breaches. Since the vulnerability does not affect availability, denial-of-service is not a primary concern. The ease of exploitation is moderate, requiring only user interaction via a browser. The scope includes all systems running vulnerable Glances versions with the REST API enabled and accessible to users. This threat is particularly critical in environments where Glances is used for monitoring sensitive or critical infrastructure.

Mitigation Recommendations

1. Upgrade Glances to version 4.5.2 or later, where the CORS configuration issue is fixed. 2. If immediate upgrade is not possible, disable or restrict access to the Glances REST API from untrusted networks or browsers. 3. Implement network-level controls such as firewall rules or VPNs to limit API access to trusted clients only. 4. Review and harden CORS policies to avoid using allow_origins=["*"] with allow_credentials=True; specify explicit trusted origins instead. 5. Educate users about the risks of visiting untrusted websites while having active sessions with sensitive monitoring tools. 6. Monitor logs for unusual cross-origin requests or suspicious API access patterns. 7. Consider deploying Web Application Firewalls (WAFs) that can detect and block malicious cross-origin requests targeting the Glances API. 8. Conduct regular security assessments of monitoring tools and their configurations to detect similar misconfigurations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-12T14:54:24.270Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bad9b2771bdb1749b240a4

Added to database: 3/18/2026, 4:58:26 PM

Last enriched: 3/18/2026, 5:12:48 PM

Last updated: 3/18/2026, 7:21:33 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses