{"id":"CVE-2026-53657","aliases":["CVE-2026-53657","GHSA-2j9v-p4xj-cjw2","GO-2026-6230"],"related":[],"kind":"vulnerability","state":"published","title":"Lima: An arbitrary user in a QEMU VM could gain the root privilege in the VM via the guest agent socket","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nOn 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.\n\nThis 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.\n\nThis vulnerability is not exploitable on `vz` driver, as the guest agent uses vsocks instead of Unix sockets.\n\n### Patches\nPatched in Lima v2.1.3 (8a45892378d22f40505c31a38f786a07701b6d50)\n\n> [!NOTE]\n> The default user account in the VM can still run an arbitrary command as the root via the guest agent socket.\n> This is not a vulnerability, as the user can already run an arbitrary command with `sudo` by design.\n\n### Workarounds\n- On macOS hosts, use `vz` driver instead of `qemu` (`limactl create --vm-type=vz`. Default since v1.0.)\n- Or, disable the guest agent (`limactl create --plain`)","format":"markdown","source":"ghsa"},{"lang":"en","text":"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","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-10T15:42:39.774Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-276","CWE-668"],"affected":[{"ranges":[{"version":"< 2.1.3","status":"affected"}],"vendor":"lima-vm","product":"lima","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.3"}],"ecosystem":"Go","package":"github.com/lima-vm/lima/v2","purl":"pkg:golang/github.com/lima-vm/lima/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/lima-vm/lima","purl":"pkg:golang/github.com/lima-vm/lima","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.3"}],"ecosystem":"Go","package":"github.com/lima-vm/lima/v2","purl":"pkg:golang/github.com/lima-vm/lima/v2","source":"go"}],"references":[{"url":"https://github.com/lima-vm/lima/security/advisories/GHSA-2j9v-p4xj-cjw2","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/lima-vm/lima/commit/8a45892378d22f40505c31a38f786a07701b6d50","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/lima-vm/lima/commit/b08cae8a670cf916d5da11c48a6de76dabd89678","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/lima-vm/lima/releases/tag/v2.1.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53657","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/lima-vm/lima","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-14T01:53:00.727Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53657","url":"https://www.cve.org/CVERecord?id=CVE-2026-53657","licence":"CVE Terms of Use","modified":"2026-07-14T01:53:50.477Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2j9v-p4xj-cjw2","url":"https://github.com/advisories/GHSA-2j9v-p4xj-cjw2","licence":"CC-BY-4.0","modified":"2026-08-18T15:10:49.812Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6230","url":"https://pkg.go.dev/vuln/GO-2026-6230","licence":"CC-BY-4.0","modified":"2026-08-18T15:00:24.505Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53657","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53657","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.645Z","epss":{"score":0.00172,"percentile":0.06923,"date":"2026-12-01T12:00:22.000Z"}}