Skip to main content

Glances CVE-2026-68517

| EUVDEUVD-2026-60301 MEDIUM
Permissive Cross-domain Security Policy with Untrusted Domains (CWE-942)
2026-08-17 GitHub_M GHSA-fp27-88fp-2phg
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Operator sets cors_origins=*,https://trusted with cors_credentials=true
  2. Delivery
    Victim authenticates to Glances REST API in browser
  3. Exploit
    Attacker lures victim to malicious webpage
  4. Install
    Page issues credentialed cross-origin XHR to Glances API
  5. C2
    Starlette reflects Origin header with Allow-Credentials: true
  6. Execute
    Attacker script reads full API response
  7. Impact
    Sensitive system monitoring data exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration CORS policy restriction
Exploitation Conditions

Three simultaneous conditions must hold: (1) The Glances REST API web server must be running and network-accessible to the attacker's origin. (2) The operator must have configured a non-default combination in glances.conf: cors_credentials=true AND a cors_origins value that is a multi-entry list explicitly containing '*' alongside at least one other origin - for example, cors_origins=*,https://trusted.example.com. The single-entry wildcard configuration (cors_origins=*) is NOT vulnerable, as it correctly triggers the old guard. (3) A victim user must have cached HTTP Basic Auth credentials for the Glances instance in their browser and must actively visit an attacker-controlled webpage during that session. Exploitation is strictly limited to confidentiality - read-only exfiltration of REST API data. No integrity or availability impact is possible via this vector. The misconfigured cors_credentials+wildcard combination is not present in default Glances installations.

Impact

The NVD-assigned CVSS 6.5 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) reflects unauthenticated network access with user interaction required and high confidentiality impact, which is directionally correct. However, AC:L may overstate exploitability: the vulnerability only manifests when an operator has deliberately configured a non-default combination of cors_credentials=True and a multi-entry cors_origins list containing the wildcard - a specific misconfiguration that is atypical and would not be present in default Glances deployments. A case for AC:H exists on these grounds. Real-world risk is further constrained by the browser-based attack model: a victim must visit an attacker-controlled page while holding cached HTTP Basic Auth credentials to the Glances instance. No CISA KEV listing means confirmed mass exploitation is absent. EPSS data was not provided; given the narrow configuration prerequisite and the niche deployment footprint of Glances, EPSS would likely be low. The public GHSA advisory contains a working PoC (curl-based demonstration), which slightly elevates opportunistic risk but does not constitute active exploitation evidence. Impact is strictly read-only data exfiltration - no integrity or availability risk.

Exploit ScenarioDerived

An attacker registers a malicious domain and embeds a JavaScript payload that issues a credentialed cross-origin fetch to the victim's Glances REST API endpoint (e.g., http://monitor.internal:61208/api/4/processlist). When a Glances user who has previously authenticated via HTTP Basic Auth visits the attacker's page in the same browser, the browser automatically includes cached credentials in the cross-origin request; because Starlette reflects the wildcard-origin configuration with Access-Control-Allow-Credentials: true, the browser returns the full API response to the attacker's script, exposing process lists, system stats, and command-line arguments. A proof-of-concept demonstrating the credential reflection behavior is publicly available in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Glances REST API prior to 4.5.6 exposes authenticated system monitoring data to untrusted cross-origin websites due to a logic error in the CORS credentials guard: the exact-equality check (cors_origins == ["*"]) fails to catch multi-entry origin lists that contain the wildcard alongside other origins, while Starlette's CORSMiddleware still treats any such list as 'allow all origins' and reflects credentials. Any website visited by an authenticated Glances user can read sensitive REST API data - including full process lists with command-line arguments - by triggering the browser's automatic replay of cached HTTP Basic Auth credentials in a cross-origin request. A proof-of-concept is publicly embedded in the GHSA advisory; no confirmed active exploitation (not in CISA KEV) has been observed at time of analysis.

RemediationAI

Upgrade Glances to version 4.5.6 or later via pip (pip install --upgrade glances); the fixed release is available at https://github.com/nicolargo/glances/releases/tag/v4.5.6 and the correcting commit is 890858944ab9d03730ec6b1ba42d4015e6d85db5. If immediate upgrade is not possible, two compensating controls independently eliminate the vulnerable condition: set cors_credentials=False in the [outputs] section of glances.conf (disables authenticated CORS, may break legitimate cross-origin dashboard clients relying on Basic Auth), or remove the wildcard '*' from cors_origins entirely and list only explicitly trusted origins (preferred, as it also removes the CORS policy overreach). Administrators should audit glances.conf for any [outputs] block combining cors_credentials=true with a cors_origins value containing '*' - that exact combination is the exploitable state. The full advisory is at https://github.com/nicolargo/glances/security/advisories/GHSA-fp27-88fp-2phg.

Affected VersionsENISA

Glances < 4.5.6

Affected Packages

pypi glances fix: 4.5.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Glances exposes a FastAPI/Starlette-based REST API and includes a documented safety guarantee that cors_credentials=True cannot be combined with an unrestricted wildcard origin allowlist. The guard in glances/outputs/glances_restful_api.py:298 implemented this as cors_origins == ["*"] - exact list equality - but Starlette's CORSMiddleware uses a membership test ("*" in allow_origins) to determine wildcard behavior. Any multi-entry configuration such as cors_origins=*,https://trusted.example.com parses to a list like ["*", "https://trusted.example.com"], which fails the exact-equality guard but is still treated by Starlette as 'allow all origins,' resulting in credentialed CORS responses being reflected to arbitrary Origins with no warning logged. CWE-942 (Permissive Cross-domain Policy with Untrusted Domains) precisely describes the root cause: the policy incorrectly permits cross-domain interaction with untrusted parties. The identical bug shape was previously corrected for the sibling XML-RPC server in glances/server.py (CVE-2026-46608, which uses the correct if "*" in cors_origins: form), but the REST API path was never updated to match. CPE cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:* covers all affected versions distributed via pip.

Know when Glances gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

AC:H because exploitation requires a non-default operator misconfiguration beyond attacker control; all other metrics align with the browser-based credential-reflection attack model.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Aug 17, 2026 - 18:16 EUVD

DescriptionCVE.org

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, the cors_origins guard in glances/outputs/glances_restful_api.py uses exact list equality instead of wildcard membership, allowing a multi-origin list containing the wildcard to retain cors_credentials and expose authenticated REST API data to an untrusted website visited by a previously authenticated user. This issue is fixed in 4.5.6.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche open-source sysadmin monitoring tool, limited enterprise footprint
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2021-23418 CRITICAL POC
9.8 Jul 29

The package glances before 3.2.1 are vulnerable to XML External Entity (XXE) Injection via the use of Fault to parse unt

CVE-2026-68518 HIGH POC
8.8 Aug 17

Command injection in Glances prior to 4.5.6 allows a local unprivileged user to execute arbitrary shell commands when ad

CVE-2026-30928 HIGH POC
7.5 Mar 10

Glances is an open-source system cross-platform monitoring tool. versions up to 4.5.1 is affected by information exposur

CVE-2026-62982 HIGH
8.8 Aug 17

Command injection in Glances system monitoring (versions 4.5.2 through 4.5.5) allows a local attacker with process-execu

CVE-2026-34839 HIGH
7.7 Apr 21

Cross-origin data exfiltration in Glances web server allows remote unauthenticated attackers to read sensitive system in

CVE-2026-35587 HIGH
7.3 Apr 21

Server-Side Request Forgery in Glances IP plugin allows authenticated attackers to force the monitoring application to s

CVE-2026-30930 HIGH
7.3 Mar 10

SQL injection in Glances TimescaleDB export module allows local attackers to execute arbitrary SQL commands against the

CVE-2026-68519 HIGH
7.1 Aug 17

Glances versions through 4.5.5 contain an incomplete fix for CVE-2026-53925: the `--disable-config-exec` flag correctly

CVE-2026-35588 MEDIUM
6.3 Apr 21

Cassandra export module in Glances prior to version 4.5.4 allows local privilege-escalated users to redirect monitoring

CVE-2026-68520 MEDIUM
5.3 Aug 17

Credential disclosure in Glances prior to 4.5.6 allows unauthenticated remote attackers to retrieve plaintext usernames

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy