CVE-2026-136974: lxd: Configuration injection in liblxc instance configuration generation

Published Nov 26, 2026
·
Updated

Configuration injection in liblxc instance configuration generation in Canonical LXD before 6.10.2, 5.21.10, 5.0.12, 4.0.16 allows an authenticated user with restricted project access or a local user of the LXD user socket to execute arbitrary commands as root on the host via line breaks in instance configuration keys and values.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.10.2
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.21.10
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.0.12
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.0.16

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 user with restricted project access can exploit it. A local user able to access the LXD user socket can also exploit it.

2

What access and technique are required for exploitation?

The attacker must be able to supply instance configuration keys or values. Exploitation uses line breaks in those keys or values to inject configuration and execute commands as root on the host.

3

Which LXD versions are affected?

Canonical LXD versions before 6.10.2, 5.21.10, 5.0.12, and 4.0.16 are affected.

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