CVE-2026-33711Incus vulnerable to local privilege escalation through VM screenshot path
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | incus | Fix pending | UBUNTU-CVE-2026-33711 | |
| Ubuntu 26.04 | incus | Fix pending | UBUNTU-CVE-2026-33711 | |
| Ubuntu 25.10 | incus | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33711 | |
| Ubuntu 24.04 | incus | Fix pending | UBUNTU-CVE-2026-33711 | |
| Debian 14 | incus | Fixed | 6.0.6-2 | DEBIAN-CVE-2026-33711 |
| Debian 13 | incus | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-33711 | |
| Go library | github.com/lxc/incus | Fix pending | GO-2026-4885 | |
| Go library | github.com/lxc/incus/v6 | Fixed | 6.23.0 | GHSA-q9vp-3wcg-8p4x |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- lxc incus: affected: < 6.23.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.