Advisory

PYSEC-2026-2174

Also known as: CVE-2026-33641, GHSA-qhj7-v7h7-q4c7

Summary

The record has no summary.

Details

Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.3, Glances supports dynamic configuration values in which substrings enclosed in backticks are executed as system commands during configuration parsing. This behavior occurs in Config.get_value() and is implemented without validation or restriction of the executed commands. If an attacker can modify or influence configuration files, arbitrary commands will execute automatically with the privileges of the Glances process during startup or configuration reload. In deployments where Glances runs with elevated privileges (e.g., as a system service), this may lead to privilege escalation. This issue has been patched in version 4.5.3.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-04-02 15:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

glances

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.3 (ecosystem)

Fixed versions

4.5.3

Fix

  • Fixed version 4.5.3
    pip install --upgrade glances==4.5.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences