PatchSiren cyber security CVE debrief
CVE-2026-68518 nicolargo CVE debrief
CVE-2026-68518 is a high-severity vulnerability in Glances, an open-source system monitoring tool that allows for shell command injection when an administrator renders an action template with attacker-controlled process or container fields. The vulnerability was introduced due to improper sanitization of Mustache values in the _sanitize_mustache_dict() function in glances/actions.py. This issue was fixed in version 4.5.6. Administrators using Glances for system monitoring should assess their exposure and update to version 4.5.6 or later to mitigate this vulnerability. The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. It is crucial
- Vendor
- nicolargo
- Product
- glances
- CVSS
- HIGH 8.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-17
- Original CVE updated
- 2026-09-18
- Advisory published
- 2026-08-17
- Advisory updated
- 2026-09-18
Who should care
Administrators using Glances for system monitoring should assess their exposure and update to version 4.5.6 or later to mitigate this vulnerability. The vulnerability allows for potential shell command injection, elevation of privileges for attackers, and possible data breaches or system compromise. It is crucial for administrators to verify their version and take necessary actions to prevent exploitation.
Why it matters
CVE-2026-68518 is a high-severity vulnerability in Glances that allows for shell command injection when an administrator renders an action template with attacker-controlled process or container fields. Administrators should verify their version and update to 4.5.6 or later to mitigate this vulnerability.
- Potential shell command injection
- Elevation of privileges for attackers
- Possible data breaches or system compromise
- Need for version verification and updates
Technical summary
The _sanitize_mustache_dict() function in glances/actions.py does not properly sanitize Mustache values, allowing for shell command injection when an administrator renders an action template with attacker-controlled process or container fields. This issue is fixed in version 4.5.6. The vulnerability allows for potential shell command injection, elevation of privileges for attackers, and possible data breaches or system compromise. Administrators using Glances should verify their version and update to 4.5.6 or later to mitigate this vulnerability.
Defensive priority
Administrators using Glances should verify their version and update to 4.5.6 or later to mitigate this vulnerability.
Recommended defensive actions
- Update Glances to version 4.5.6 or later
- Verify administrator-configured action templates for potential vulnerabilities
- Monitor for suspicious activity in Glances logs
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. The _sanitize_mustache_dict() function in glances/actions.py does not properly sanitize Mustache values, allowing for shell command injection when an administrator renders an action template with attacker-controlled process or container fields. The issue is fixed in version 4.5.6. Administrators should verify their version and update to 4.5.6 or later to mitigate this vulnerability. The vulnerability allows for potential shell command
Sources and references
Verified primary and authoritative sources
-
CVE-2026-68518 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-68518
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-68518 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-68518
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994
-
Source reference
Unverified legacy reference
URL: https://github.com/nicolargo/glances/releases/tag/v4.5.6
-
Source reference
Unverified legacy reference
URL: https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.