Servers and applications
GHSA-58vc-fxv9-grp7
Line breaks in instance configuration inject liblxc directives and run host commands
- Severity
- Critical 9.9
- Published
- 27 Nov 2026
- Last changed
- 27 Nov 2026
- Added to UpHeron
- 27 Nov 2026
- Fixed in
- 6.0.8
- Weakness
- Injection (CWE-74)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
On the Incus 6.0 LTS branch, instance configuration keys and values that are written to a container's liblxc configuration are not checked for line breaks. A caller that puts a line feed, or a bare carriage return, in one of the affected keys or values therefore adds liblxc directives of its own choosing to that container's configuration. These include hooks, which liblxc runs on the host as root, with full capabilities, unconfined and in the host namespaces, when the container starts.
The affected inputs include linux.sysctl. values and environment. and limits.kernel.* key names and values. None of them is treated as a low-level configuration option, so they can be set by a restricted client in a restricted project, and by a local user of incus-user, on a container they own.
Only the 6.0 LTS branch is affected. GHSA-3wxw-5gh2-j2x2 covered this class of issue on the 7.x line; the 6.0 LTS branch was not covered by it.
Affected software
| Software | Affected versions |
|---|---|
IncusServers and applications · github:lxc/incus |
|
About Incus
container manager for system containers
- GitHub stars
- 6,771GitHub, 29 Nov 2026
- Forks
- 535GitHub, 29 Nov 2026
- Latest release
- v7.7.0GitHub, 29 Nov 2026
- Released
- 27 Nov 2026GitHub
- Developer
- Linux ContainersWikidata
- License
- Apache License 2.0Wikidata
- Written in
- GoWikidata
- First released
- 7 Aug 2023Wikidata
- First published on GitHub
- 22 Jul 2023GitHub
Vulnerabilities in Incus
- In our list
- 134
- Published in the last 12 months
- 131
- Critical, last 12 months
- 49
- High, last 12 months
- 46
- Known exploited
- 0
- GHSA-wxrh-h92w-7p77Restricted clients can make QEMU read arbitrary host files through SMBIOS type 11 keysHigh 7.7 27 Nov 2026
- GHSA-xw8w-vwh3-9w5vRestricted project users can read and write host devices through the file transfer APICritical 9.9 27 Nov 2026
- GHSA-wm96-rxh7-f5w2NBD commands expose volume and VM disks to every local user through an unauthenticated loopback listenerHigh 7.9 27 Nov 2026
- GHSA-whqq-3g5w-5p5wArbitrary file write during recursive file pull on case-insensitive file systemsHigh 7.7 27 Nov 2026
- GHSA-wgg4-rrw6-c64wContainer TPM resource manager node can refer to another TPMHigh 8.4 27 Nov 2026
- GHSA-v855-hxm9-5pwgRestricted clients can crash, exhaust or stall the Incus daemonMedium 6.5 27 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-58vc-fxv9-grp7
- github.com https://github.com/lxc/incus/security/advisories/GHSA-58vc-fxv9-grp7