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.
Published: 2026-07-10
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Lima Virtual Machine Manager (lima‑vm) hosts Linux guests via QEMU, commonly on macOS hosts. Prior to version 2.1.3, the qemu driver exposed the guest‑agent socket at /run/lima-guestagent.sock to any user within the guest. The socket domain sockets used by core daemons such as D‑Bus. Consequently, an unprivileged user inside the guest can issue commands that are executed as root, effectively providing arbitrary command execution with root privileges inside the VM. The flaw is a case of improper authorization (CWE‑276) and a mis‑configured privileged interface (CWE‑668).

Affected Systems

The problem exists in Lima versions earlier than 2.1.3 when the qemu driver is used and the guest agent is enabled. Lima is maintained by the lima‑vm community. Any virtual machine configured in this way before the 2.1.3 release is vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 8.2 and is considered a high‑severity local privilege escalation. The EPSS score of < 1% indicates a very low but non‑zero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog, meaning no confirmed public exploits are known. The attack vector is likely a local user who can write to the guest file system and interact with the socket, allowing them to trigger the privilege escalation. The required condition is simply that the guest agent socket is accessible.

Generated by OpenCVE AI on July 29, 2026 at 10:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Lima to version 2.1.3 or later, which revokes the socket's world‑read/write permissions
  • Restrict the socket by setting stricter permissions or binding its file system location to a privileged user only
  • Disable the guest agent or remove /run/lima‑guestagent.sock completely if an upgrade cannot be performed

Generated by OpenCVE AI on July 29, 2026 at 10:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Lima-vm
Lima-vm lima
Vendors & Products Lima-vm
Lima-vm lima

Fri, 10 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Lima: An arbitrary user in a QEMU VM could gain the root privilege in the VM via the guest agent socket
Weaknesses CWE-276
CWE-668
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T01:53:50.477Z

Reserved: 2026-06-09T20:50:36.876Z

Link: CVE-2026-53657

cve-icon Vulnrichment

Updated: 2026-07-14T01:53:46.707Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T10:45:03Z

Weaknesses
  • CWE-276

    Incorrect Default Permissions

  • CWE-668

    Exposure of Resource to Wrong Sphere