CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-33711

High
Published: Translated: NVD NIST

Summary

Incus to menedżer kontenerów systemowych i maszyn wirtualnych, który udostępnia API do pobierania zrzutów ekranu VM. W wersjach przed 6.23.0 API to korzysta z przewidywalnych ścieżek w katalogu /tmp, co umożliwia atakującemu z lokalnym dostępem do systemu nadużycie tego mechanizmu poprzez tworzenie własnych dowiązań symbolicznych.

Risk Assessment

Na większości systemów Linux atak ten skutkuje błędem 'Permission denied' dzięki funkcji zabezpieczeń jądra Linux, `protected_symlinks`. Na rzadkich systemach, gdzie ta funkcja jest wyłączona, możliwe jest manipulowanie plikami w systemie, co może prowadzić do odmowy usługi lub eskalacji uprawnień.

Recommendation

Zaleca się aktualizację do wersji 6.23.0 lub nowszej, aby usunąć tę podatność. Dodatkowo, warto rozważyć włączenie funkcji `protected_symlinks` na wszystkich systemach, aby zwiększyć bezpieczeństwo.

Related vulnerabilities

Original NVD description (English source)

Incus is a system container and virtual machine manager. Incus provides an API to retrieve VM screenshots. That API relies on the use of a temporary file for QEMU to write the screenshot to which is then picked up and sent to the user prior to deletion. As versions prior to 6.23.0 use predictable paths under /tmp for this, an attacker with local access to the system can abuse this mechanism by creating their own symlinks ahead of time. On the vast majority of Linux systems, this will result in a "Permission denied" error when requesting a screenshot. That's because the Linux kernel has a security feature designed to block such attacks, `protected_symlinks`. On the rare systems with this purposefully disabled, it's then possible to trick Incus intro truncating and altering the mode and permissions of arbitrary files on the filesystem, leading to a potential denial of service or possible local privilege escalation. Version 6.23.0 fixes the issue.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS