Skip to main content
← All vulnerabilities
CVE-2026-33945GO-2026-4884GHSA-Q4Q8-7F2J-9H9F

Abitrary file write through systemd-creds option

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

Summary

Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like `systemd.credential.../../../../../../root/.bashrc` to cause Incus to write outside of the `credentials` directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is `systemd.credential.XYZ` where `XYZ` can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • lxc incus

    fixed in 6.23.0

  • github.com/lxc/incusGo

    All versions

  • github.com/lxc/incus/v6Go

    fixed in 6.23.0

References 1

GitHub · lxc/incus