CVE-2026-140084: lxd: Incorrect authorization in resource creation bypasses project isolation and allows host root

Published Dec 1, 2026
·
Updated

Incorrect authorization in the resource-creation endpoints in Canonical LXD 5.21.0 through 5.21.9 allows an authenticated fine-grained authorization (OpenFGA) user holding a create entitlement on a project to create resources in the unrestricted default project without permissions on it when the project's matching features. flag is disabled, bypassing project isolation and, by creating a bridge network in default configured with raw.dnsmasq, executing attacker-chosen code as root on the host.

Affected Software

1 affected component
Canonical LXD>=5.21.0<=5.21.9

Event History

Dec 1, 2026
CVE Published
via MITRE·09:01 PM
Data Sourced
via MITRE·09:01 PM
DescriptionWeakness
Data Sourced
via OSV·09:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Canonical LXD versions 5.21.0 through 5.21.9 are affected when fine-grained authorization using OpenFGA is in use, a user has create entitlement on a project, and that project's matching features.* flag is disabled.

2

What access does an attacker need to reach host-root code execution?

The attacker must be an authenticated OpenFGA user with permission to create resources in a project. They can bypass isolation to create a bridge network in the default project and configure raw.dnsmasq with attacker-chosen code, which executes as host root.

3

Is the unrestricted default project directly exposed by the user's existing entitlement?

No. The bypass allows a user entitled to create resources in another project to create resources in the default project even without permissions on that default project, under the affected feature-flag condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203