Conversation
LXC doesn't currently have a syntax to hold a multi-line environment variable in its configuration. The use of multi-line environment variables leads to a corrupted configuration file and to a security issue where additional lines may be added by an unprivileged user to escalate their privileges. This fixes CVE-2026-23953. Reported-by: Rory McNamara <[email protected]> Signed-off-by: Stéphane Graber <[email protected]>
hallyn
approved these changes
Jan 22, 2026
cyphar
reviewed
Jan 22, 2026
cyphar
reviewed
Jan 22, 2026
This fixes three security issues related to file templates: - The template target path could be made to be relative or gothrough symlinks in a way that could lead to arbitrary write to the host filesystem. - The template directory could be relative, allowing for arbitrary read from the host filesystem. - The template file itself could be made relative, allowing for arbitrary reads from the host filesystem. In the case of the template target path, the new logic makes use of the kernel's openat2 system call which brings a variety of flags that can be used to restrict path resolution and detect potential issues. For the template path itself, we now validate that it is a simple local file and that the template directory isn't a symlink. This fixes CVE-2026-23954 Reported-by: Rory McNamara <[email protected]> Signed-off-by: Stéphane Graber <[email protected]>
This was referenced Feb 3, 2026
tomponline
added a commit
to tomponline/lxd
that referenced
this pull request
Feb 3, 2026
Based on lxc/incus#2848 Related to GHSA-x6jc-phwx-hp32 (CVE-2026-23953) This addresses a security issue that was responsibly disclosed to the Incus security team by Rory McNamara of snyk.io.
tomponline
added a commit
to canonical/lxd
that referenced
this pull request
Feb 3, 2026
Based on lxc/incus#2848 Related to GHSA-7f67-crqm-jgh7 (CVE-2026-23954) This addresses a security issue that was responsibly disclosed to the Incus security team by Rory McNamara of snyk.io.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses two security issues that were responsibly disclosed to the Incus security team by Rory McNamara of snyk.io.
They cover: