UBUNTU-CVE-2026-33945

Source
https://ubuntu.com/security/CVE-2026-33945
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33945.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-33945
Upstream
Published
2026-03-27T00:16:00Z
Modified
2026-05-20T16:25:31.802442416Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H CVSS Calculator
  • Ubuntu - high
Summary
[none]
Details

Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like systemd.credential.../../../../../../root/.bashrc to cause Incus to write outside of the credentials directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is systemd.credential.XYZ where XYZ can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.

References

Affected packages

Ubuntu:Pro:24.04:LTS / incus

Package

Name
incus
Purl
pkg:deb/ubuntu/incus?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4-1ubuntu1
0.5.1-1
0.5.1-3
0.6-1
6.*
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

{
    "priority_reason": "priviledge escalation",
    "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33945.json"

Ubuntu:25.10 / incus

Package

Name
incus
Purl
pkg:deb/ubuntu/incus?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.0.3-4
6.0.4-2

Ecosystem specific

{
    "priority_reason": "priviledge escalation",
    "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33945.json"

Ubuntu:26.04:LTS / incus

Package

Name
incus
Purl
pkg:deb/ubuntu/incus?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.0.4-2
6.0.5-8

Ecosystem specific

{
    "priority_reason": "priviledge escalation",
    "binaries": [
        {
            "binary_name": "golang-github-lxc-incus-dev",
            "binary_version": "6.0.5-8"
        },
        {
            "binary_name": "incus",
            "binary_version": "6.0.5-8"
        },
        {
            "binary_name": "incus-agent",
            "binary_version": "6.0.5-8"
        },
        {
            "binary_name": "incus-base",
            "binary_version": "6.0.5-8"
        },
        {
            "binary_name": "incus-client",
            "binary_version": "6.0.5-8"
        },
        {
            "binary_name": "incus-extra",
            "binary_version": "6.0.5-8"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33945.json"