{"id":"CVE-2026-33641","published":"2026-04-02T14:57:51Z","modified":"2026-04-02T16:22:08Z","title":"Glances Vulnerable to Command Injection via Dynamic Configuration Values","vendor":"nicolargo","product":"glances","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00923,"percentile":0.61251,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-qhj7-v7h7-q4c7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/commit/358d76a225fc21a9f95d2c4d7e46fafe64a644c6","tags":["x_refsource_MISC"]},{"url":"https://github.com/nicolargo/glances/releases/tag/v4.5.3","tags":["x_refsource_MISC"]}],"priority":{"score":22.7,"factors":[{"name":"EPSS percentile","points":12.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-13"},"first":{"date":"2026-05-13","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52559"},"provenance":"source"},"vendorSlug":"nicolargo","affectedVersions":[{"vendor":"nicolargo","product":"glances","versions":["< 4.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-02T16:09:58.862429Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Glances","vulnerableRanges":["<4.5.3"],"patched":["4.5.3"],"from":["GHSA-qhj7-v7h7-q4c7","PYSEC-2026-2174"],"provenance":"source"}],"summary":{"text":"Glances, an open-source cross-platform system monitoring tool, is affected by an OS command injection flaw in its configuration parsing (Config.get_value()), where substrings enclosed in backticks in configuration values are executed as system commands without validation. An attacker with local access and low privileges who can modify or influence the configuration files can get arbitrary commands executed with the privileges of the Glances process on startup or configuration reload, which may enable privilege escalation where Glances runs as an elevated system service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:01Z"},"euvd":{"id":"EUVD-2026-18256","exploited":false,"provenance":"source"},"exploits":[{"id":52559,"url":"https://www.exploit-db.com/exploits/52559","title":"glances 4.5.2 - command injection","date":"2026-05-13","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-nicolargo-glances-cve-2021-23418","parents":[{"from":"CVE-2021-23418","to":"CVE-2026-33641","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["glances/config.py"],"commits":["https://github.com/nicolargo/glances/commit/4b87e979afdc06d98ed1b48da31e69eaa3a9fb94","https://github.com/nicolargo/glances/commit/85d5a6b4af31fcf785d5a61086cbbd166b40b07a","https://github.com/nicolargo/glances/commit/358d76a225fc21a9f95d2c4d7e46fafe64a644c6"],"basis":"shared function","functions":["get_value"]}]}],"packageHistory":[{"cve":"CVE-2026-32633","published":"2026-03-18","fixed":"4.5.2","kev":false},{"cve":"CVE-2026-32634","published":"2026-03-18","fixed":"4.5.2","kev":false},{"cve":"CVE-2026-33533","published":"2026-04-02","fixed":"4.5.3","kev":false},{"cve":"CVE-2026-33641","published":"2026-04-02","fixed":"4.5.3","kev":false},{"cve":"CVE-2026-34839","published":"2026-04-20","fixed":"4.5.4","kev":false,"link":{"from":"CVE-2026-33641","to":"CVE-2026-34839","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Glances","fromFixed":"4.5.3","toFixed":"4.5.4","daysApart":18}]}}],"package":"PyPI:Glances"}}