CVE-2026-33945
incus: Incus: Privilege escalation and denial of service via path traversal in systemd credential configuration
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Red Hat.
Description
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/lxc/incus/v6 | 6.23.0 |
| debian 14 | incus | 6.0.6-2 |
| rapidfort alpine 3.20 | incus | 7.0.0-r0 |
| rapidfort alpine 3.21 | incus | 7.0.0-r0 |
| rapidfort alpine 3.22 | incus | 7.0.0-r0 |
| rapidfort alpine 3.23 | incus | 7.0.0-r0 |
| rapidfort debian 12 | incus | 0:6.0.6-2 |
| rapidfort debian 13 | incus | 0:6.0.6-2 |
| rapidfort fedora 43 | incus, incus-agent, incus-client et 2 autres | 6.23-2.fc43 |
| rapidfort ubuntu 20.04 | incus | 0:7.0.0-1 |
| rapidfort ubuntu 22.04 | incus | 0:7.0.0-1 |
| rapidfort ubuntu 24.04 | incus | 0:7.0.0-1 |
Afficher les 16 entrées de 12 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/lxc/incus/v6 | 6.23.0 |
| debian 14 | incus | 6.0.6-2 |
| rapidfort alpine 3.20 | incus | 7.0.0-r0 |
| rapidfort alpine 3.21 | incus | 7.0.0-r0 |
| rapidfort alpine 3.22 | incus | 7.0.0-r0 |
| rapidfort alpine 3.23 | incus | 7.0.0-r0 |
| rapidfort debian 12 | incus | 0:6.0.6-2 |
| rapidfort debian 13 | incus | 0:6.0.6-2 |
| rapidfort fedora 43 | incus | 6.23-2.fc43 |
| rapidfort fedora 43 | incus-agent | 6.23-2.fc43 |
| rapidfort fedora 43 | incus-client | 6.23-2.fc43 |
| rapidfort fedora 43 | incus-selinux | 6.23-2.fc43 |
| rapidfort fedora 43 | incus-tools | 6.23-2.fc43 |
| rapidfort ubuntu 20.04 | incus | 0:7.0.0-1 |
| rapidfort ubuntu 22.04 | incus | 0:7.0.0-1 |
| rapidfort ubuntu 24.04 | incus | 0:7.0.0-1 |
Références
- https://access.redhat.com/security/cve/CVE-2026-33945
- https://github.com/lxc/incus
- https://github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82
- https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f
- https://nvd.nist.gov/vuln/detail/CVE-2026-33945
- https://www.cve.org/CVERecord?id=CVE-2026-33945