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

CVE-2026-33945: Incus has an abitrary file write through its systemd-creds options

March 27, 2026

Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. An attacker can use the name of a systemd credential to escape that directory and overwrite arbitrary files on the host system.

This can in turn be used to perform local privilege escalation or cause a DoS.

References

  • github.com/advisories/GHSA-q4q8-7f2j-9h9f
  • github.com/lxc/incus
  • github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82
  • github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f
  • nvd.nist.gov/vuln/detail/CVE-2026-33945

Code Behaviors & Features

Detect and mitigate CVE-2026-33945 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 9.9 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:05 +0000.