CVE-2026-135381 lxd: Incorrect permission assignment in transfer sockets, storage paths, and disk mounts

Published Updated

Unprivileged local users can gain root on LXD hosts via unauthenticated abstract sockets, setuid binaries, or race mounts.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by Canonical Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.16, 5.0.12, 5.21.10 +1
Attack path
Local or same network
Any signed-in user, no user action

What is CVE-2026-135381?

CVE-2026-135381 is a medium-severity privilege escalation vulnerability in Canonical LXD, published on 26 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Incorrect permission assignment for critical resources in rsync transfer sockets, instance storage directories, proxy socket paths, and disk staging mounts in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an unprivileged local user to gain root privileges on the host, read or modify transferred volumes, alter host file permissions, and inject AppArmor rules via connecting to unauthenticated abstract Unix sockets, running setuid binaries, or racing path and mount operations.

Weakness: CWE-732

How severe is CVE-2026-135381?

CVE-2026-135381 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by Canonical.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
None

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Which versions are affected by CVE-2026-135381?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-135381?

Upgrade Canonical LXD to the fixed version for your release line. The advisory names 4.0.16, 5.0.12, 5.21.10 and 6.10.2.

Upgrade, and run services with the fewest rights they need. More about Privilege escalation.

Is CVE-2026-135381 being exploited?

There is no known exploitation of CVE-2026-135381 in the wild and no public exploit code.

Sources

Is CVE-2026-135381 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free