{"id":"UBUNTU-CVE-2026-68518","details":"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.","modified":"2026-08-19T13:32:38.660587337Z","published":"2026-08-17T17:16:00Z","upstream":["CVE-2026-68518"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-68518"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-68518"},{"type":"REPORT","url":"https://github.com/nicolargo/glances/security/advisories/GHSA-qcpp-8x79-hhp3"}],"affected":[{"package":{"name":"glances","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/glances?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3-1build1","2.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"2.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68518.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/glances?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10-2","2.11.1-1","2.11.1-2","2.11.1-3","2.11.1-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.11.1-3ubuntu0.1~esm1","binary_name":"glances"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68518.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/glances?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.0-1","3.1.1-1","3.1.3-1","3.1.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"3.1.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68518.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/glances?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.5-1","3.2.3.1+dfsg-1","3.2.4.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"3.2.4.2+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68518.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/glances?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"3.4.0.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68518.json"}},{"package":{"name":"glances","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/glances?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.1+dfsg-1","4.3.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"glances","binary_version":"4.3.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68518.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}