CVE-2026-62982: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances
CVE-2026-62982 is a high-severity OS command injection vulnerability in the open-source monitoring tool Glances. Versions from 4.5.2 up to but not including 4.5.6 improperly sanitize nested list and dictionary strings in process command line values, allowing malicious pipe characters to be executed via administrator-configured action templates. This flaw is fixed in version 4.5.6.
AI Analysis
Technical Summary
Glances versions >=4.5.2 and <4.5.6 contain an OS command injection vulnerability due to improper neutralization of special elements in the _sanitize_mustache_dict() function within glances/actions.py. This function fails to sanitize nested list and dictionary strings such as process cmdline values, allowing pipe characters to pass through chevron.render() and be executed by secure_popen() when used in administrator-configured action templates. The vulnerability is resolved in version 4.5.6.
Potential Impact
An attacker with local privileges and limited user rights can exploit this vulnerability to execute arbitrary OS commands with the privileges of the Glances process, potentially leading to full system compromise. The CVSS 3.1 score is 8.8 (High), reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated in the available data.
CVE-2026-62982: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances
Description
CVE-2026-62982 is a high-severity OS command injection vulnerability in the open-source monitoring tool Glances. Versions from 4.5.2 up to but not including 4.5.6 improperly sanitize nested list and dictionary strings in process command line values, allowing malicious pipe characters to be executed via administrator-configured action templates. This flaw is fixed in version 4.5.6.
CVSS v3.1
Score 8.8high
Affected software
nicolargo
glances
pkg:github/nicolargo/glancesRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Glances versions >=4.5.2 and <4.5.6 contain an OS command injection vulnerability due to improper neutralization of special elements in the _sanitize_mustache_dict() function within glances/actions.py. This function fails to sanitize nested list and dictionary strings such as process cmdline values, allowing pipe characters to pass through chevron.render() and be executed by secure_popen() when used in administrator-configured action templates. The vulnerability is resolved in version 4.5.6.
Potential Impact
An attacker with local privileges and limited user rights can exploit this vulnerability to execute arbitrary OS commands with the privileges of the Glances process, potentially leading to full system compromise. The CVSS 3.1 score is 8.8 (High), reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated in the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-14T22:48:09.781Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a834478bf8831d5394445c0
Added to database: 08/17/2026, 17:27:20 UTC
Last enriched: 09/29/2026, 04:58:59 UTC
Last updated: 10/01/2026, 14:51:08 UTC
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.