Security mailing lists by PureSourceCode

CVE-2026-34178

CRITICAL 9.1CVSS 3.1

LXD: Importing a crafted backup leads to project restriction bypass

In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the supplied tar archive but creates the instance from backup/container/backup.yaml, a separate file in the same archive that is never checked against project restrictions. An authenticated remote attacker with instance-creation permission in a restricted project can craft a backup archive where backup.yaml carries restricted settings such as security.privileged=true or raw.lxc directives, bypassing all project restriction enforcement and allowing full host compromise.

Published
9 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@ubuntu.com
NVD status
Analyzed
Weakness
CWE-20
Also known as
GHSA-q96j-3fmm-7fv4GO-2026-5576
Sources
NVDJSONOSV GHSA-q96j-3fmm-7fv4JSONOSV GO-2026-5576JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@ubuntu.com (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canonical lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
>= 4.12, <= 5.0.6
NVD canonical lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
>= 5.21.0, <= 5.21.4
NVD canonical lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
>= 6.0, <= 6.7
OSV Go github.com/canonical/lxd >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267
OSV Go github.com/canonical/lxd >= 0.0.0-20210305023314-538ac3df036e

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.