Read the docs
TI-2026-26295 Aliases CVE-2026-33945GHSA-q4q8-7f2j-9h9f

Abitrary file write through systemd-creds option

Priority MEDIUM 43CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00455 39th percentileScored 2026-11-07
Fix Fixed incus (lxc): 6.23.0github.com/lxc/incus/v6 (Go): 6.23.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
lxcincusbefore 6.23.06.23.0Patch availableCNA
—github.com/lxc/incus/v6 (Go)before 6.23.06.23.0Patch availableGHSA-q4q8-7f2j-9h9f
  • incus Vendorlxc Affected before 6.23.0 Fixed in 6.23.0 Patch available CNA
  • github.com/lxc/incus/v6 (Go) Vendor— Affected before 6.23.0 Fixed in 6.23.0 Patch available GHSA-q4q8-7f2j-9h9f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*before 6.23.0Vulnerablelxc
  • cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:* Versions before 6.23.0 Vulnerable ·lxc

Remediation

  • Fix · CNA incus (lxc) Fixed in 6.23.0
  • Fix · GHSA-q4q8-7f2j-9h9f github.com/lxc/incus/v6 (Go) Fixed in 6.23.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33945
  2. 2026-10-03 Alias added: GHSA-q4q8-7f2j-9h9f

References

  • TI-2026-19296 Incus container image templating arbitrary host file read and write CVSS 3.1HIGH 8.7
  • TI-2026-19295 Incus container environment configuration newline injection CVSS 3.1HIGH 8.7
  • TI-2025-39899 Incus vulnerable to local privilege escalation through custom storage volumes CVSS 4.0HIGH 8.6
  • TI-2026-29045 Incus out-of-bounds panic in snapshot metadata handling allows denial of service CVSS 4.0HIGH 7.1
  • TI-2026-29009 Incus nil-pointer dereference in storage bucket import allows denial of service CVSS 4.0HIGH 7.1
  • TI-2026-26122 Incus vulnerable to denial of source through crafted bucket backup file CVSS 3.1MEDIUM 6.5
See all 17 →

Sources