GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

UBUNTU-CVE-2026-23953 (CVE-2026-23953)

Vulnerability from osv_ubuntu – Published: 2026-01-22 22:16 – Updated: 2026-07-02 16:11 – Source website
VLAI
Details

Incus is a system container and virtual machine manager. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YAML configuration (e.g a member of the ‘incus’ group) can create an environment variable containing newlines, which can be used to add additional configuration items in the container’s lxc.conf due to newline injection. This can allow adding arbitrary lifecycle hooks, ultimately resulting in arbitrary command execution on the host. Exploiting this issue on IncusOS requires a slight modification of the payload to change to a different writable directory for the validation step (e.g /tmp). This can be confirmed with a second container with /tmp mounted from the host (A privileged action for validation only). A fix is planned for versions 6.0.6 and 6.21.0, but they have not been released at the time of publication.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-lxc-lxd-dev",
            "binary_version": "2.0.11-0ubuntu1~16.04.4+esm3"
          },
          {
            "binary_name": "lxc2",
            "binary_version": "2.0.11-0ubuntu1~16.04.4+esm3"
          },
          {
            "binary_name": "lxd",
            "binary_version": "2.0.11-0ubuntu1~16.04.4+esm3"
          },
          {
            "binary_name": "lxd-client",
            "binary_version": "2.0.11-0ubuntu1~16.04.4+esm3"
          },
          {
            "binary_name": "lxd-tools",
            "binary_version": "2.0.11-0ubuntu1~16.04.4+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "lxd",
        "purl": "pkg:deb/ubuntu/lxd@2.0.11-0ubuntu1~16.04.4+esm3?arch=source\u0026distro=esm-infra-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.20-0ubuntu4",
        "0.21-0ubuntu3",
        "0.21-0ubuntu5",
        "0.22-0ubuntu1",
        "0.22-0ubuntu2",
        "0.23-0ubuntu1",
        "0.23-0ubuntu2",
        "0.23-0ubuntu3",
        "0.24-0ubuntu2",
        "0.24-0ubuntu3",
        "0.24-0ubuntu4",
        "0.25-0ubuntu1",
        "0.26-0ubuntu2",
        "0.26-0ubuntu3",
        "0.27-0ubuntu1",
        "0.27-0ubuntu2",
        "2.0.0~beta1-0ubuntu3",
        "2.0.0~beta1-0ubuntu4",
        "2.0.0~beta2-0ubuntu1",
        "2.0.0~beta2-0ubuntu2",
        "2.0.0~beta3-0ubuntu1",
        "2.0.0~beta3-0ubuntu2",
        "2.0.0~beta3-0ubuntu3",
        "2.0.0~beta3-0ubuntu4",
        "2.0.0~beta4-0ubuntu1",
        "2.0.0~beta4-0ubuntu2",
        "2.0.0~beta4-0ubuntu3",
        "2.0.0~beta4-0ubuntu4",
        "2.0.0~beta4-0ubuntu5",
        "2.0.0~beta4-0ubuntu6",
        "2.0.0~beta4-0ubuntu7",
        "2.0.0~rc1-0ubuntu1",
        "2.0.0~rc1-0ubuntu2",
        "2.0.0~rc1-0ubuntu3",
        "2.0.0~rc2-0ubuntu2",
        "2.0.0~rc2-0ubuntu3",
        "2.0.0~rc3-0ubuntu1",
        "2.0.0~rc3-0ubuntu2",
        "2.0.0~rc3-0ubuntu3",
        "2.0.0~rc3-0ubuntu4",
        "2.0.0~rc4-0ubuntu1",
        "2.0.0~rc5-0ubuntu1",
        "2.0.0~rc6-0ubuntu1",
        "2.0.0~rc6-0ubuntu2",
        "2.0.0~rc7-0ubuntu1",
        "2.0.0~rc7-0ubuntu2",
        "2.0.0~rc8-0ubuntu1",
        "2.0.0~rc8-0ubuntu2",
        "2.0.0~rc8-0ubuntu3",
        "2.0.0~rc8-0ubuntu5",
        "2.0.0~rc8-0ubuntu6",
        "2.0.0~rc8-0ubuntu7",
        "2.0.0~rc9-0ubuntu2",
        "2.0.0~rc9-0ubuntu3",
        "2.0.0~rc9-0ubuntu4",
        "2.0.0~rc9-0ubuntu5",
        "2.0.0-0ubuntu1",
        "2.0.0-0ubuntu2",
        "2.0.0-0ubuntu3",
        "2.0.0-0ubuntu4",
        "2.0.1-0ubuntu1~16.04.1",
        "2.0.2-0ubuntu1~16.04.1",
        "2.0.3-0ubuntu1~ubuntu16.04.2",
        "2.0.4-0ubuntu1~ubuntu16.04.1",
        "2.0.5-0ubuntu1~ubuntu16.04.1",
        "2.0.8-0ubuntu1~ubuntu16.04.1",
        "2.0.8-0ubuntu1~ubuntu16.04.2",
        "2.0.9-0ubuntu1~16.04.1",
        "2.0.9-0ubuntu1~16.04.2",
        "2.0.10-0ubuntu1~16.04.1",
        "2.0.10-0ubuntu1~16.04.2",
        "2.0.11-0ubuntu1~16.04.2",
        "2.0.11-0ubuntu1~16.04.4",
        "2.0.11-0ubuntu1~16.04.4+esm1",
        "2.0.11-0ubuntu1~16.04.4+esm2",
        "2.0.11-0ubuntu1~16.04.4+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lxd",
            "binary_version": "3.0.3-0ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "lxd-client",
            "binary_version": "3.0.3-0ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "lxd-tools",
            "binary_version": "3.0.3-0ubuntu1~18.04.2+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "lxd",
        "purl": "pkg:deb/ubuntu/lxd@3.0.3-0ubuntu1~18.04.2+esm3?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.18-0ubuntu6",
        "2.19-0ubuntu1",
        "2.20-0ubuntu3",
        "2.20-0ubuntu4",
        "2.21-0ubuntu1",
        "2.21-0ubuntu2",
        "2.21-0ubuntu3",
        "2.21-0ubuntu4",
        "3.0.0~beta2-0ubuntu3",
        "3.0.0~beta3-0ubuntu3",
        "3.0.0~beta5-0ubuntu2",
        "3.0.0~beta7-0ubuntu1",
        "3.0.0-0ubuntu1",
        "3.0.0-0ubuntu2",
        "3.0.0-0ubuntu3",
        "3.0.0-0ubuntu4",
        "3.0.1-0ubuntu1~18.04.1",
        "3.0.2-0ubuntu1~18.04.1",
        "3.0.3-0ubuntu1~18.04.1",
        "3.0.3-0ubuntu1~18.04.2",
        "3.0.3-0ubuntu1~18.04.2+esm1",
        "3.0.3-0ubuntu1~18.04.2+esm2",
        "3.0.3-0ubuntu1~18.04.2+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lxd",
            "binary_version": "1:0.10"
          },
          {
            "binary_name": "lxd-client",
            "binary_version": "1:0.10"
          },
          {
            "binary_name": "lxd-tools",
            "binary_version": "1:0.10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "lxd",
        "purl": "pkg:deb/ubuntu/lxd@1:0.10?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:0.7",
        "1:0.8",
        "1:0.9",
        "1:0.10"
      ]
    },
    {
      "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": "Incus is a system container and virtual machine manager. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YAML configuration (e.g a member of the \u2018incus\u2019 group) can create an environment variable containing newlines, which can be used to add additional configuration items in the container\u2019s lxc.conf due to newline injection. This can allow adding arbitrary lifecycle hooks, ultimately resulting in arbitrary command execution on the host. Exploiting this issue on IncusOS requires a slight modification of the payload to change to a different writable directory for the validation step (e.g /tmp). This can be confirmed with a second container with /tmp mounted from the host (A privileged action for validation only). A fix is planned for versions 6.0.6 and 6.21.0, but they have not been released at the time of publication.",
  "id": "UBUNTU-CVE-2026-23953",
  "modified": "2026-07-02T16:11:56Z",
  "published": "2026-01-22T22:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-23953"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-23953"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/lxc/incus/security/advisories/GHSA-x6jc-phwx-hp32"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L1081"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/user-attachments/files/24473682/environment_newline_injection.sh"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/user-attachments/files/24473685/environment_newline_injection.patch"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-23953"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…