Command Injection Affecting glances package, versions [4.5.2,4.5.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GLANCES-20158934
  • published27 Sept 2026
  • disclosed17 Aug 2026
  • creditUnknown

Introduced: 17 Aug 2026

CVE-2026-62982  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Glances to version 4.5.6 or higher.

Overview

Glances is an A cross-platform curses-based monitoring tool

Affected versions of this package are vulnerable to Command Injection in the cmdline process when attacker-controlled nested values are passed unsanitized to the command template renderer. An attacker can execute arbitrary commands with elevated privileges by crafting process arguments that include shell operators, which are not properly sanitized in nested fields. This is only exploitable if an action command template is configured to render a nested stat field such as cmdline.

CVSS Base Scores

version 4.0
version 3.1