LXD: Cross-guest storage volume hijacking (CVE-2026-12411)
An authorization flaw in the LXD DevLXD storage API allows an authenticated guest container to attach and gain read/write access to arbitrary storage volumes owned by other guests within the same project.
CVE search metadata
CVE search record: CVE-2026-12411. Severity: high. CVSS: 8.4. EPSS: 0.29%. KEV: no. Product: LXD (>= 0.0.0-20250721152936-fe86ceb2c3fa, < 0.0.0-20260626085133-7cb96ac80a6d). Brief: LXD: Cross-guest storage volume hijacking (CVE-2026-12411). Brief link: https://feed.craftedsignal.io/briefs/2026-11-lxd-devlxd-hijack/
Triage facts
Revision 1- Applicability
- LXD (>= 0.0.0-20250721152936-fe86ceb2c3fa, < 0.0.0-20260626085133-7cb96ac80a6d)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 5, 22:30 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
LXD is susceptible to cross-guest volume hijacking due to missing ownership checks in the instance device-update path. When security.devlxd.management.volumes is enabled, the API fails to validate if an identity has ownership of a custom storage volume during a PATCH request to update instance devices. This enables a malicious guest to attach volumes belonging to other guests, resulting in full read/write access to the victim’s data. Volume names can be discovered via error probing.
Attack Chain
- Attacker obtains a valid DevLXD identity with
can_editpermissions for their own instance. - Attacker probes for volume names by attempting to attach them via
PATCHrequests to the DevLXD instance endpoint. - LXD processes the
PATCHrequest for a disk device. - The
devLXDInstancePatchHandlervalidates the device configuration shape (type, pool, source) but skips volume ownership/RBAC checks. - LXD attaches the victim's volume to the attacker's instance.
- Attacker reads or overwrites data within the mounted volume at the specified mount point.
Impact
Exploitation allows for unauthorized access, modification, and potential data exfiltration of storage volumes belonging to other tenants within the same LXD project. The impact is limited to environments where security.devlxd.management.volumes is explicitly enabled.
Recommendation
- Upgrade LXD to the version containing the fix for CVE-2026-12411 (>= 0.0.0-20260626085133-7cb96ac80a6d).
- In environments where patching is deferred, disable
security.devlxd.management.volumesfor all instances in shared projects. - Audit existing LXD instance configurations to identify unauthorized or unexpected disk devices.
Immediate actions
Patch LXD instances to version 0.0.0-20260626085133-7cb96ac80a6d or later.
Threat Hunt
Identify abnormal usage of the DevLXD PATCH API to add disk devices.
Data: LXD daemon logs (audit logs)
Mitigations
Disable security.devlxd.management.volumes for all instances.
CVE-2026-12411