cve.bz

CVE-2026-62982 nicolargo glances: OS Command Injection

8.8 highEPSS 0.2%Fix available

High (8.8) in nicolargo glances. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in glances 4.5.6.

On this page
Glances is an open-source system cross-platform monitoring tool. From 4.5.2 until 4.5.6, _sanitize_mustache_dict() in glances/actions.py skips nested list and dictionary strings such as process cmdline values, allowing pipe characters to survive chevron.render() and be executed by secure_popen() through administrator-configured action templates. This issue is fixed in 4.5.6.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-08-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-62982 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-62982?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-62982?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-62982 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nicolargo glances>= 4.5.2, < 4.5.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-73wf-9vmv-5pv9PyPIglances>=4.5.2 <4.5.64.5.6
PYSEC-2026-3666PyPIglances>=4.5.2 <4.5.64.5.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14glances4.5.6+dfsg-1DEBIAN-CVE-2026-62982
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 3 moreglancesno fix listedUBUNTU-CVE-2026-62982
openSUSETumbleweedpython-Glances4.5.6-1.1openSUSE-SU-2026:11674-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security rates this vulnerability as having an Important impact because an unprivileged local user can execute arbitrary commands with the elevated privileges of the monitoring daemon (frequently root), thereby crossing a security boundary. Glances is not included directly in Red Hat Enterprise Linux and is only available through community repositories including Fedora and Extra Packages for Enterprise Linux (EPEL). Furthermore, standard deployments are unaffected by default; exposure requires an administrator to configure custom alert action commands that interpolate nested process metadata, such as process command-line arguments.

Red Hat's mitigation

Restrict access to Glances configuration and ensure that only trusted administrators can modify action templates. If the Glances web interface is enabled, limit network access to it through firewall rules, allowing connections only from trusted management hosts.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-62982.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON