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 an 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 pipe characters to bypass sanitization. This leads to execution of arbitrary commands via administrator-configured action templates. The issue is fixed in version 4.5.6.
AI Analysis
Technical Summary
Glances versions 4.5.2 through 4.5.5 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 survive the chevron.render() templating process. Consequently, these characters can be executed by secure_popen() when processing administrator-configured action templates. The vulnerability is resolved in version 4.5.6.
Potential Impact
Successful exploitation allows an attacker with local privileges to execute arbitrary OS commands with the privileges of the Glances process, potentially leading to complete system compromise. The CVSS 3.1 base score is 8.8 (high severity), reflecting high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. No other official remediation or temporary workaround is documented. Patch status is not explicitly stated but the fix is included in version 4.5.6.
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 an 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 pipe characters to bypass sanitization. This leads to execution of arbitrary commands via administrator-configured action templates. The issue is fixed in version 4.5.6.
CVSS v3.1
Score 8.8high
Affected software
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 through 4.5.5 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 survive the chevron.render() templating process. Consequently, these characters can be executed by secure_popen() when processing administrator-configured action templates. The vulnerability is resolved in version 4.5.6.
Potential Impact
Successful exploitation allows an attacker with local privileges to execute arbitrary OS commands with the privileges of the Glances process, potentially leading to complete system compromise. The CVSS 3.1 base score is 8.8 (high severity), reflecting high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. No other official remediation or temporary workaround is documented. Patch status is not explicitly stated but the fix is included in version 4.5.6.
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
- Remediation Level
- null
Threat ID: 6a834478bf8831d5394445c0
Added to database: 08/17/2026, 17:27:20 UTC
Last enriched: 08/17/2026, 17:41:25 UTC
Last updated: 08/17/2026, 18:04:20 UTC
Views: 4
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.