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 package | Versions | Reported by |
|---|---|---|
| lima-vm lima | < 2.1.3 | CVE List |
| github.com/lima-vm/lima/v2 (Go) | before 2.1.3 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/lima-vm/lima (Go) | all versions | Go Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Classification
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
sudoby design.
Workarounds
- On macOS hosts, use
vzdriver instead ofqemu(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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53657 changed 2026-07-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2j9v-p4xj-cjw2 changed 2026-08-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6230 changed 2026-08-18 | CC-BY-4.0 |
| NVD | CVE-2026-53657 changed 2026-10-25 | Public domain |