Skip to main content
← All vulnerabilities
CVE-2026-33711GHSA-Q9VP-3WCG-8P4XGO-2026-4885

Incus vulnerable to local privilege escalation through VM screenshot path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • lxc incus

    fixed in 6.23.0

  • github.com/lxc/incus/v6Go

    fixed in 6.23.0

  • github.com/lxc/incusGo

    All versions

References 1

GitHub · lxc/incus