CVE-2026-127160: lxd: Configuration injection in VM disk device QEMU configuration

Published Nov 26, 2026
·
Updated

Configuration injection in virtual machine disk device handling in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with VM creation permissions in a restricted project to bypass low-level VM restrictions and control the root QEMU process via quotes and line breaks in a disk device's guest path.

Affected Software

1 affected component
Canonical LXD<5.0.12, <5.21.10, <6.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade canonical/lxd to a version that resolves this vulnerability.

    Fixed in 5.0.12
  2. Upgrade

    Upgrade canonical/lxd to a version that resolves this vulnerability.

    Fixed in 5.21.10
  3. Upgrade

    Upgrade canonical/lxd to a version that resolves this vulnerability.

    Fixed in 6.10.2

Event History

Nov 26, 2026
CVE Published
via MITRE·11:16 PM
Data Sourced
via MITRE·11:16 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated LXD user who has permission to create virtual machines in a restricted project can exploit it. The issue is relevant where such users are intended to be constrained by low-level VM restrictions.

2

What input is required to trigger the vulnerability?

The attacker needs to create or configure a VM disk device with a guest path containing quotes and line breaks. Those characters can inject QEMU configuration content and give control over the root QEMU process.

3

Which LXD releases are affected?

LXD releases before 5.0.12, 5.21.10, and 6.10.2 are affected. Upgrade to the applicable fixed release branch.

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