All vulnerabilities

Servers and applications

GHSA-9m5m-cr24-m367

Restricted and revoked TLS clients can gain unrestricted access through certificate trust handling

Severity
Critical 9.9
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Incorrect authorization (CWE-863)
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

Incus decides what a TLS client may do from its trust store entry: an entry marked as restricted confines the client to a list of projects, a metrics entry only allows access to the metrics endpoint, and removing or revoking a certificate is expected to end its access.

Several flaws in how that trust is looked up, updated and withdrawn allowed a client to end up with more access than its entry grants:

  • A client certificate that could not be found in the trust store at the time of the permission check was treated as unrestricted. A restricted client can renew its own certificate while another of its requests is still in flight, and that request is then authorized without any restriction.
  • When updating its own trust store entry, a restricted client could replace the list of projects it is confined to, and could revert a change that an administrator made to that entry while the client's request was pending.
From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

There is no complete workaround. Restricted TLS certificates should not be handed to untrusted parties on affected versions.

For restricted users, authenticating through OIDC and authorizing through OpenFGA or an authorization scriptlet, without adding their certificates to the trust store, avoids the issues tied to restricted trust store entries.

Restarting the daemon on every cluster member after revoking or removing a certificate, or after deleting or renaming a project, closes established connections and reloads the trust data.

Workarounds as given by lxc/incus's security advisory.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.7.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
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

References