← Back to CVE Explorer

CVE-2026-46606

Full vulnerability record from the local CVENow database.

Description

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.5, the Glances KVM/QEMU monitoring engine (glances/plugins/vms/engines/virsh.py) passes VM domain names, read directly from virsh list --all output, into f-string command templates that are processed by secure_popen(). secure_popen() is explicitly designed to interpret &&, |, and > as shell operators. Because domain names are never sanitised before interpolation, any user with the ability to create or rename a KVM/QEMU virtual machine can execute arbitrary commands as the OS user running Glances — commonly root on hypervisor hosts. This vulnerability is fixed in 4.5.5.

Severity
HIGH
CVSS score
7.8 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-25 19:16:37.380000
Last modified
2026-10-25 22:10:00.150000
View original CVE JSON
{
  "id": "CVE-2026-46606",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-25T19:16:37.380",
  "lastModified": "2026-10-25T22:10:00.150",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.5, the Glances KVM/QEMU monitoring engine (glances/plugins/vms/engines/virsh.py) passes VM domain names, read directly from virsh list --all output, into f-string command templates that are processed by secure_popen(). secure_popen() is explicitly designed to interpret &&, |, and > as shell operators. Because domain names are never sanitised before interpolation, any user with the ability to create or rename a KVM/QEMU virtual machine can execute arbitrary commands as the OS user running Glances — commonly root on hypervisor hosts. This vulnerability is fixed in 4.5.5."
    },
    {
      "lang": "es",
      "value": "Glances es una herramienta de monitorización de sistema multiplataforma de código abierto. Antes de la versión 4.5.5, el motor de monitorización KVM/QEMU de Glances (glances/plugins/vms/engines/virsh.py) pasa nombres de dominio de máquina virtual (VM), leídos directamente de la salida de ’virsh list --all’, a plantillas de comandos f-string que son procesadas por secure_popen(). secure_popen() está explícitamente diseñado para interpretar &&, |, y > como operadores de shell. Debido a que los nombres de dominio nunca se sanean antes de la interpolación, cualquier usuario con la capacidad de crear o renombrar una máquina virtual KVM/QEMU puede ejecutar comandos arbitrarios como el usuario del sistema operativo que ejecuta Glances - comúnmente root en hosts de hipervisor. Esta vulnerabilidad se corrige en la versión 4.5.5."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "nicolargo",
          "product": "glances",
          "versions": [
            {
              "version": "< 4.5.5",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-25T18:29:22.087082Z",
          "id": "CVE-2026-46606",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-78"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/nicolargo/glances/releases/tag/v4.5.5",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/nicolargo/glances/security/advisories/GHSA-v5r2-qh84-fjx5",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}