ubuntu-cve-2026-34178
Vulnerability from osv_ubuntu
Published
2026-04-09 10:16
Modified
2026-07-02 16:13
Summary
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.

Severity

{
  "affected": [
    {
      "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_name": "incus-agent",
            "binary_version": "6.0.0-1ubuntu0.3+esm3"
          },
          {
            "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_name": "incus-tools",
            "binary_version": "6.0.0-1ubuntu0.3+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "incus",
        "purl": "pkg:deb/ubuntu/incus@6.0.0-1ubuntu0.3+esm3?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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.4-2"
          },
          {
            "binary_name": "incus",
            "binary_version": "6.0.4-2"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "incus",
        "purl": "pkg:deb/ubuntu/incus@6.0.4-2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.3-4",
        "6.0.4-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-lxc-incus-dev",
            "binary_version": "6.0.5-8ubuntu0.26.04.1~esm1"
          },
          {
            "binary_name": "incus",
            "binary_version": "6.0.5-8ubuntu0.26.04.1~esm1"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "incus",
        "purl": "pkg:deb/ubuntu/incus@6.0.5-8ubuntu0.26.04.1~esm1?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.4-2",
        "6.0.5-8",
        "6.0.5-8ubuntu0.26.04.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2026-34178",
  "modified": "2026-07-02T16:13:28Z",
  "published": "2026-04-09T10:16:00Z",
  "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"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-34178"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…