Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-33945

Опубликовано: 26 мар. 2026
Источник: redhat
CVSS3: 9.6

Описание

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.

A flaw was found in Incus, a system container and virtual machine manager. An attacker with the ability to configure Incus instances can exploit a path traversal vulnerability by manipulating the systemd.credential configuration key. This allows the attacker to write to arbitrary files as the root user, leading to both privilege escalation and denial of service within the system.

Отчет

Critical: A path traversal vulnerability in Incus allows an attacker with the ability to configure Incus instances to write to arbitrary files as the root user. This can lead to privilege escalation and denial of service within the system. This issue affects Incus, which is available as a community project.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Дополнительная информация

Статус:

Critical
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2452054incus: Incus: Privilege escalation and denial of service via path traversal in systemd credential configuration

9.6 Critical

CVSS3

Связанные уязвимости

CVSS3: 9.9
ubuntu
4 месяца назад

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.

CVSS3: 9.9
nvd
4 месяца назад

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.

CVSS3: 9.9
debian
4 месяца назад

Incus is a system container and virtual machine manager. Incus instanc ...

CVSS3: 9.9
github
4 месяца назад

Incus has an abitrary file write through its systemd-creds options

CVSS3: 9.6
fstec
4 месяца назад

Уязвимость системы управления контейнерами и менеджера виртуальных машин Incus, связанная с неверным ограничением имени пути к каталогу с ограниченным доступом, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации

9.6 Critical

CVSS3