CVE-2026-68519: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances
CVE-2026-68519 is an OS command injection vulnerability in the open-source monitoring tool Glances. Versions prior to 4.5.6 allow execution of shell commands with operators such as redirection, chaining, or pipes when an alert triggers, due to improper handling of the --disable-config-exec flag in GlancesActions.run(). This issue is resolved in version 4.5.6.
AI Analysis
Technical Summary
Glances versions before 4.5.6 contain an OS command injection vulnerability (CWE-78) in the GlancesActions.run() function located in glances/actions.py. The function ignores the --disable-config-exec flag for on-alert action commands and invokes secure_popen() with shell operators enabled. This allows an attacker with appropriate privileges to execute arbitrary shell commands via configured alert actions that include shell operators such as redirection, command chaining, or pipes. The vulnerability is fixed in version 4.5.6.
Potential Impact
An attacker with the ability to configure alert actions and with high privileges can execute arbitrary OS commands on the affected system when an alert triggers. This can lead to unauthorized command execution, potentially compromising system integrity and confidentiality. The CVSS 4.0 score is 7.1 (high severity), reflecting the significant impact of this vulnerability when exploited.
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
CVE-2026-68519: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nicolargo glances
Description
CVE-2026-68519 is an OS command injection vulnerability in the open-source monitoring tool Glances. Versions prior to 4.5.6 allow execution of shell commands with operators such as redirection, chaining, or pipes when an alert triggers, due to improper handling of the --disable-config-exec flag in GlancesActions.run(). This issue is resolved in version 4.5.6.
CVSS v4.0
Score 7.1high
Affected software
nicolargo
glances
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 versions before 4.5.6 contain an OS command injection vulnerability (CWE-78) in the GlancesActions.run() function located in glances/actions.py. The function ignores the --disable-config-exec flag for on-alert action commands and invokes secure_popen() with shell operators enabled. This allows an attacker with appropriate privileges to execute arbitrary shell commands via configured alert actions that include shell operators such as redirection, command chaining, or pipes. The vulnerability is fixed in version 4.5.6.
Potential Impact
An attacker with the ability to configure alert actions and with high privileges can execute arbitrary OS commands on the affected system when an alert triggers. This can lead to unauthorized command execution, potentially compromising system integrity and confidentiality. The CVSS 4.0 score is 7.1 (high severity), reflecting the significant impact of this vulnerability when exploited.
Mitigation Recommendations
Upgrade Glances to version 4.5.6 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
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
Threat ID: 6a834478bf8831d5394445c5
Added to database: 08/17/2026, 17:27:20 UTC
Last enriched: 09/29/2026, 04:58:44 UTC
Last updated: 10/01/2026, 14:51:09 UTC
Views: 53
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.