CVE-2026-53657
JSON

8.2high

Lima: An arbitrary user in a QEMU VM could gain the root privilege in the VM via the guest agent socket

Severity
8.2high CVSS:3.1 by GitHub_M
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2j9v-p4xj-cjw2GO-2026-6230

Description

Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to 2.1.3, on an instance of Lima running with the qemu driver, an arbitrary user in the VM could access /run/lima-guestagent.sock when the guest agent is enabled, which could result in running arbitrary commands with root privileges in the VM because the guest agent socket provides tunneling for arbitrary addresses, including Unix socket addresses for privileged daemons like D-Bus. This issue is fixed in version 2.1.3.

Affected

Product or packageVersionsReported by
lima-vm lima< 2.1.3CVE List
github.com/lima-vm/lima/v2 (Go)before 2.1.3GitHub Advisory Database, Go Vulnerability Database
github.com/lima-vm/lima (Go)all versionsGo Vulnerability Database

All scores

GitHub_M8.2high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub8.2high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-276CWE-668

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to 2.1.3, on an instance of Lima running with the qemu driver, an arbitrary user in the VM could access /run/lima-guestagent.sock when the guest agent is enabled, which could result in running arbitrary commands with root privileges in the VM because the guest agent socket provides tunneling for arbitrary addresses, including Unix socket addresses for privileged daemons like D-Bus. This issue is fixed in version 2.1.3.

GitHub Advisory Database
Impact

On an instance of Lima running with qemu driver, an arbitrary user in the VM could access /run/lima-guestagent.sock when the guest agent is enabled.

This could result in running an arbitrary command with the root privileges in the VM (not on the host), as lima-guestagent.sock provides the tunneling service for an arbitrary address, including a Unix socket address for privileged daemons like D-Bus.

This vulnerability is not exploitable on vz driver, as the guest agent uses vsocks instead of Unix sockets.

Patches

Patched in Lima v2.1.3 (8a45892378d22f40505c31a38f786a07701b6d50)

[!NOTE] The default user account in the VM can still run an arbitrary command as the root via the guest agent socket. This is not a vulnerability, as the user can already run an arbitrary command with sudo by design.

Workarounds
  • On macOS hosts, use vz driver instead of qemu (limactl create --vm-type=vz. Default since v1.0.)
  • Or, disable the guest agent (limactl create --plain)
Go Vulnerability Database

Lima: An arbitrary user in a QEMU VM could gain the root privilege in the VM via the guest agent socket in github.com/lima-vm/lima

NVD (es)

Lima lanza máquinas virtuales Linux, típicamente en macOS, para ejecutar containerd. Antes de la versión 2.1.3, en una instancia de Lima ejecutándose con el controlador qemu, un usuario arbitrario en la MV podía acceder a /run/lima-guestagent.sock cuando el agente invitado estaba habilitado, lo que podría resultar en la ejecución de comandos arbitrarios con privilegios de root en la MV porque el socket del agente invitado proporciona tunelización para direcciones arbitrarias, incluyendo direcciones de socket Unix para demonios privilegiados como D-Bus. Este problema está solucionado en la versión 2.1.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53657 changed 2026-07-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-2j9v-p4xj-cjw2 changed 2026-08-18CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6230 changed 2026-08-18CC-BY-4.0
NVDCVE-2026-53657 changed 2026-10-25Public domain