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

exploitDog

github логотип

GHSA-83xr-5xxr-mh92

Опубликовано: 27 мар. 2026
Источник: github
Github: Прошло ревью
CVSS3: 9.9

Описание

Incus vulnerable to arbitrary file read and write through pongo templates

Summary

Instance template files can be used to cause arbitrary read or writes as root on the host server.

Details

Incus allows for pongo2 templates within instances which can be used at various times in the instance lifecycle to template files inside of the instance. This particular implementation of pongo2 within Incus allowed for file read/write but with the expectation that the pongo2 chroot feature would isolate all such access to the instance's filesystem.

This was allowed such that a template could theoretically read a file and then generate a new version of said file.

Unfortunately the chroot isolation mechanism is entirely skipped by pongo2 leading to easy access to the entire system's filesystem with root privileges.

Credit

This issue was discovered and reported by the team at 7asecurity

Пакеты

Наименование

github.com/lxc/incus/v6

go
Затронутые версииВерсия исправления

< 6.23.0

6.23.0

Наименование

github.com/lxc/incus

go
Затронутые версииВерсия исправления

<= 0.7.0

Отсутствует

EPSS

Процентиль: 38%
0.00481
Низкий

9.9 Critical

CVSS3

Дефекты

CWE-1336

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

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

Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used to cause arbitrary read or writes as root on the host server. Incus allows for pongo2 templates within instances which can be used at various times in the instance lifecycle to template files inside of the instance. This particular implementation of pongo2 within Incus allowed for file read/write but with the expectation that the pongo2 chroot feature would isolate all such access to the instance's filesystem. This was allowed such that a template could theoretically read a file and then generate a new version of said file. Unfortunately the chroot isolation mechanism is entirely skipped by pongo2 leading to easy access to the entire system's filesystem with root privileges. Version 6.23.0 patches the issue.

CVSS3: 9.1
redhat
4 месяца назад

Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used to cause arbitrary read or writes as root on the host server. Incus allows for pongo2 templates within instances which can be used at various times in the instance lifecycle to template files inside of the instance. This particular implementation of pongo2 within Incus allowed for file read/write but with the expectation that the pongo2 chroot feature would isolate all such access to the instance's filesystem. This was allowed such that a template could theoretically read a file and then generate a new version of said file. Unfortunately the chroot isolation mechanism is entirely skipped by pongo2 leading to easy access to the entire system's filesystem with root privileges. Version 6.23.0 patches the issue.

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

Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used to cause arbitrary read or writes as root on the host server. Incus allows for pongo2 templates within instances which can be used at various times in the instance lifecycle to template files inside of the instance. This particular implementation of pongo2 within Incus allowed for file read/write but with the expectation that the pongo2 chroot feature would isolate all such access to the instance's filesystem. This was allowed such that a template could theoretically read a file and then generate a new version of said file. Unfortunately the chroot isolation mechanism is entirely skipped by pongo2 leading to easy access to the entire system's filesystem with root privileges. Version 6.23.0 patches the issue.

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

Incus is a system container and virtual machine manager. Prior to vers ...

CVSS3: 9.9
fstec
5 месяцев назад

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

EPSS

Процентиль: 38%
0.00481
Низкий

9.9 Critical

CVSS3

Дефекты

CWE-1336