ubuntu-cve-2026-33945
Vulnerability from osv_ubuntu
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.
{
"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"
}
],
"priority_reason": "priviledge escalation"
},
"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"
}
],
"priority_reason": "priviledge escalation"
},
"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"
}
],
"priority_reason": "priviledge escalation"
},
"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. 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\u0027s not possible to read any data this way, it\u0027s possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.",
"id": "UBUNTU-CVE-2026-33945",
"modified": "2026-07-02T16:13:28Z",
"published": "2026-03-27T00:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-33945"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-33945"
},
{
"type": "REPORT",
"url": "https://github.com/lxc/incus/pull/3092"
},
{
"type": "REPORT",
"url": "https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-33945"
]
}
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.