{"id":"CVE-2026-68518","state":"PUBLISHED","title":"Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction","description":"Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, _sanitize_mustache_dict() in glances/actions.py sanitizes individual Mustache values before chevron.render(), allowing adjacent unescaped Mustache variables to reconstruct shell operators that secure_popen() executes when attacker-controlled process or container fields are rendered by an administrator-configured action template. This issue is fixed in 4.5.6.","publishedAt":"2026-08-17T16:18:29.391Z","updatedAt":"2026-08-17T19:37:48.603Z","severity":{"score":8.8,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nicolargo glances"],"affected":[{"vendor":"nicolargo","product":"glances","versions":[{"version":"< 4.5.6","status":"affected"}]}],"references":["https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3","https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994","https://github.com/nicolargo/glances/releases/tag/v4.5.6"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68518.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68518","state":"PUBLISHED","datePublished":"2026-08-17T16:18:29.391Z","dateUpdated":"2026-08-17T19:37:48.603Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-30T16:19:08.082Z"},"containers":{"cna":{"title":"Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction","descriptions":[{"lang":"en","value":"Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, _sanitize_mustache_dict() in glances/actions.py sanitizes individual Mustache values before chevron.render(), allowing adjacent unescaped Mustache variables to reconstruct shell operators that secure_popen() executes when attacker-controlled process or container fields are rendered by an administrator-configured action template. This issue is fixed in 4.5.6."}],"affected":[{"vendor":"nicolargo","product":"glances","versions":[{"version":"< 4.5.6","status":"affected"}]}],"references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3","name":"https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994","name":"https://github.com/nicolargo/glances/commit/9c280eae5419da680827024b60f6265956e31994","tags":["x_refsource_MISC"]},{"url":"https://github.com/nicolargo/glances/releases/tag/v4.5.6","name":"https://github.com/nicolargo/glances/releases/tag/v4.5.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-17T16:18:29.391Z"},"source":{"advisory":"GHSA-qcpp-8x79-hhp3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-17T19:37:09.485314Z","id":"CVE-2026-68518","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-17T19:37:48.603Z"}}]}}}