CVE-2026-68519: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, GlancesActions.run() in glances/actions.py ignores --disable-config-exec for on-alert action commands and invokes secure_popen() with shell operators enabled, allowing configured redirection, command chaining, or pipes to execute when an alert triggers. This issue is fixed in 4.5.6.
AI Analysis
Technical Summary
Glances, a cross-platform system monitoring tool, contains an OS command injection vulnerability identified as CVE-2026-68519 (CWE-78). In versions before 4.5.6, the function GlancesActions.run() in glances/actions.py does not respect the --disable-config-exec flag for on-alert action commands. It calls secure_popen() with shell operators enabled, which allows an attacker to execute arbitrary shell commands via configured alert actions that include shell operators such as redirection, command chaining, or pipes. This vulnerability is resolved in Glances version 4.5.6.
Potential Impact
An attacker with the ability to configure alert actions in Glances prior to version 4.5.6 can execute arbitrary OS commands with the privileges of the Glances process. This can lead to unauthorized command execution, potentially compromising the system's integrity and confidentiality. The vulnerability requires local access (AV:L) and privileges (PR:H) but does not require user interaction (UI:N).
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. There is no official patch advisory provided, but the fix is included in the 4.5.6 release. Until upgrading, avoid configuring alert actions that include shell operators or disable alert actions if possible.
CVE-2026-68519: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances
Description
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, GlancesActions.run() in glances/actions.py ignores --disable-config-exec for on-alert action commands and invokes secure_popen() with shell operators enabled, allowing configured redirection, command chaining, or pipes to execute when an alert triggers. This issue is fixed in 4.5.6.
CVSS v4.0
Score 7.1high
Affected software
Run 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, a cross-platform system monitoring tool, contains an OS command injection vulnerability identified as CVE-2026-68519 (CWE-78). In versions before 4.5.6, the function GlancesActions.run() in glances/actions.py does not respect the --disable-config-exec flag for on-alert action commands. It calls secure_popen() with shell operators enabled, which allows an attacker to execute arbitrary shell commands via configured alert actions that include shell operators such as redirection, command chaining, or pipes. This vulnerability is resolved in Glances version 4.5.6.
Potential Impact
An attacker with the ability to configure alert actions in Glances prior to version 4.5.6 can execute arbitrary OS commands with the privileges of the Glances process. This can lead to unauthorized command execution, potentially compromising the system's integrity and confidentiality. The vulnerability requires local access (AV:L) and privileges (PR:H) but does not require user interaction (UI:N).
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. There is no official patch advisory provided, but the fix is included in the 4.5.6 release. Until upgrading, avoid configuring alert actions that include shell operators or disable alert actions if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-30T16:19:08.082Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a834478bf8831d5394445c5
Added to database: 08/17/2026, 17:27:20 UTC
Last enriched: 08/17/2026, 17:41:19 UTC
Last updated: 08/17/2026, 17:59:08 UTC
Views: 5
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.