Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lxc/incus/v6
  4. ›
  5. CVE-2026-33711

CVE-2026-33711: Incus vulnerable to local privilege escalation through VM screenshot path

March 27, 2026

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 Incus uses 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.

References

  • github.com/advisories/GHSA-q9vp-3wcg-8p4x
  • github.com/lxc/incus
  • github.com/lxc/incus/commit/ef006240ac2475ddea7b8406cecc7dbd1a883fdf
  • github.com/lxc/incus/releases/tag/v6.23.0
  • github.com/lxc/incus/security/advisories/GHSA-q9vp-3wcg-8p4x
  • nvd.nist.gov/vuln/detail/CVE-2026-33711

Code Behaviors & Features

Detect and mitigate CVE-2026-33711 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.23.0

Fixed versions

  • 6.23.0

Solution

Upgrade to version 6.23.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

go/github.com/lxc/incus/v6/CVE-2026-33711.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:46 +0000.