All vulnerabilities

Servers and applications

CVE-2026-33711

Local privilege escalation through VM screenshot path

Severity
Medium 4.7
Published
26 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.23.0
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-61
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-q9vp-3wcg-8p4x
Sources
NVD, Project advisories (GitHub)

Description

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.

From lxc/incus's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
IncusServers and applications · cpe:a:linuxcontainers:incus
  • Every version before 6.23.0
IncusServers and applications · github:lxc/incus
  • Every version before 6.23.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,644GitHub, 15 Nov 2026
Forks
522GitHub, 15 Nov 2026
Latest release
v7.6.0GitHub, 15 Nov 2026
Released
30 Oct 2026GitHub
Developer
Linux ContainersWikidata
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-33711
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-33711
  • GitHub Advisory Database https://github.com/advisories/GHSA-q9vp-3wcg-8p4x
  • github.com https://github.com/lxc/incus/security/advisories/GHSA-q9vp-3wcg-8p4x