{"answers":{"affected":"4 open source packages ship an affected version, including github.com/lxc/incus/v6 and github.com/lxc/incus. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33711 exists.","fix":"Upgrade github.com/lxc/incus/v6 to 6.23.0 or later.","what":"CVE-2026-33711 is a medium-severity path traversal vulnerability in lxc incus, published on 26 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33711 and fix it if it is affected.\n\nWhat it is: CVE-2026-33711 is a medium-severity path traversal vulnerability in lxc incus, published on 26 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33711 exists.\n\nAffected packages and fixed versions:\n- github.com/lxc/incus/v6 (Go): affected all versions; fixed in 6.23.0\n- github.com/lxc/incus/v6 (Go): affected all versions; fixed in 6.23.0\n- github.com/lxc/incus/v6 (Go): affected all versions; fixed in 6.23.0\n- github.com/lxc/incus (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33711/ (Markdown: https://insights.sbomify.com/CVE-2026-33711/index.md)","id":"CVE-2026-33711","markdown":"https://insights.sbomify.com/CVE-2026-33711/index.md","name":"CVE-2026-33711","record":{"aliases":["DEBIAN-CVE-2026-33711","GHSA-q9vp-3wcg-8p4x","GO-2026-4885","UBUNTU-CVE-2026-33711"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Incus VM manager","requires_auth":"low_privilege","summary":"Local attackers can exploit predictable temporary file paths in Incus VM screenshots to modify arbitrary files, potentially escalating privileges or causing denial of service.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"incus","vendor":"linuxcontainers"}],"cvss":{"score":4.7,"severity":"medium","source":"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","version":"4.0"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Incus vulnerable to local privilege escalation through VM screenshot path","id":"CVE-2026-33711","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"TypeBot: Unauthenticated SSRF via isolated-vm fetch in preview chat endpoint bypasses SSRF controls","id":"CVE-2026-33712"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/lxc/incus","purl":"pkg:golang/github.com/lxc/incus","source":"GO-2026-4885"},{"ecosystem":"Go","fixed":["6.23.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lxc/incus/v6","purl":null,"source":"GHSA-q9vp-3wcg-8p4x"},{"ecosystem":"Go","fixed":["6.23.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lxc/incus/v6","purl":"pkg:golang/github.com/lxc/incus/v6","source":"GHSA-q9vp-3wcg-8p4x"},{"ecosystem":"Go","fixed":["6.23.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lxc/incus/v6","purl":"pkg:golang/github.com/lxc/incus/v6","source":"GO-2026-4885"}],"prev":{"headline":"Chamilo LMS has Weak REST API Key Generation (Predictable)","id":"CVE-2026-33710"},"products":["incus"],"published":"2026-03-26","related":[{"cvss_score":10,"headline":"Incus vulnerable to arbitrary file read and write through pongo templates","id":"CVE-2026-33897","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":10,"headline":"Abitrary file write through systemd-creds option","id":"CVE-2026-33945","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.8,"headline":"Local Incus UI web server vulnerable to nuthentication bypass","id":"CVE-2026-33898","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.7,"headline":"Incus container environment configuration newline injection","id":"CVE-2026-23953","kev_date_added":null,"published":"2026-01-22"},{"cvss_score":8.7,"headline":"Incus container image templating arbitrary host file read and write","id":"CVE-2026-23954","kev_date_added":null,"published":"2026-01-22"},{"cvss_score":8.6,"headline":"Incus vulnerable to local privilege escalation through custom storage volumes","id":"CVE-2025-64507","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":7.1,"headline":"Incus nil-pointer dereference in storage bucket import allows denial of service","id":"CVE-2026-40195","kev_date_added":null,"published":"2026-05-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["lxc"]},"summary":"Local attackers can exploit predictable temporary file paths in Incus VM screenshots to modify arbitrary files, potentially escalating privileges or causing denial of service.","url":"https://insights.sbomify.com/CVE-2026-33711/"}