{"id":"UBUNTU-CVE-2026-34178","details":"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.","modified":"2026-07-02T18:02:57.720784518Z","published":"2026-04-09T10:16:00Z","upstream":["CVE-2026-34178"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-34178"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-34178"},{"type":"REPORT","url":"https://github.com/canonical/lxd/pull/17921"},{"type":"REPORT","url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4"}],"affected":[{"package":{"name":"incus","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/incus?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4-1ubuntu1","0.5.1-1","0.5.1-3","0.6-1","6.0.0-1","6.0.0-1ubuntu0.1","6.0.0-1ubuntu0.2","6.0.0-1ubuntu0.2+esm1","6.0.0-1ubuntu0.3","6.0.0-1ubuntu0.3+esm1","6.0.0-1ubuntu0.3+esm2","6.0.0-1ubuntu0.3+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-lxc-incus-dev","binary_version":"6.0.0-1ubuntu0.3+esm3"},{"binary_name":"incus","binary_version":"6.0.0-1ubuntu0.3+esm3"},{"binary_version":"6.0.0-1ubuntu0.3+esm3","binary_name":"incus-agent"},{"binary_name":"incus-client","binary_version":"6.0.0-1ubuntu0.3+esm3"},{"binary_name":"incus-migrate","binary_version":"6.0.0-1ubuntu0.3+esm3"},{"binary_version":"6.0.0-1ubuntu0.3+esm3","binary_name":"incus-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34178.json"}},{"package":{"name":"incus","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/incus?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.3-4","6.0.4-2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.0.4-2","binary_name":"golang-github-lxc-incus-dev"},{"binary_version":"6.0.4-2","binary_name":"incus"},{"binary_name":"incus-agent","binary_version":"6.0.4-2"},{"binary_name":"incus-base","binary_version":"6.0.4-2"},{"binary_name":"incus-client","binary_version":"6.0.4-2"},{"binary_name":"incus-extra","binary_version":"6.0.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34178.json"}},{"package":{"name":"incus","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/incus?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.4-2","6.0.5-8","6.0.5-8ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-lxc-incus-dev","binary_version":"6.0.5-8ubuntu0.26.04.1~esm1"},{"binary_version":"6.0.5-8ubuntu0.26.04.1~esm1","binary_name":"incus"},{"binary_name":"incus-agent","binary_version":"6.0.5-8ubuntu0.26.04.1~esm1"},{"binary_name":"incus-base","binary_version":"6.0.5-8ubuntu0.26.04.1~esm1"},{"binary_name":"incus-client","binary_version":"6.0.5-8ubuntu0.26.04.1~esm1"},{"binary_name":"incus-extra","binary_version":"6.0.5-8ubuntu0.26.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34178.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}