GitHub Advisoryadvisory · Go
GHSA-2j9v-p4xj-cjw2 Lima: An arbitrary user in a QEMU VM could gain the root privilege in the VM via the guest agent socket
HIGH
Official page ↗
- Aliases
- CVE-2026-53657
- Ecosystem
- Go
- Packages
- github.com/lima-vm/lima/v2
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-276, CWE-668
- Reviewed
- 2026-08-14
Affected packages
• Go github.com/lima-vm/lima/v2: < 2.1.3 → fixed in 2.1.3
Description
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`)
Related
Alias · CVE (1)
- CVE-2026-53657 Lima launches Linux virtual machines, typically on macOS, for running containerd. vulnerability
References
- https://github.com/lima-vm/lima/security/advisories/GHSA-2j9v-p4xj-cjw2 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-53657 advisory
- https://github.com/lima-vm/lima/commit/8a45892378d22f40505c31a38f786a07701b6d50 web
- https://github.com/lima-vm/lima/commit/b08cae8a670cf916d5da11c48a6de76dabd89678 web
- https://github.com/lima-vm/lima package
- https://github.com/lima-vm/lima/releases/tag/v2.1.3 web