# GHSA-9GGH-G7FM-7FJJ: Credentials and other projects' details disclosed to lower-privileged clients

- Database: GitHub
- Severity: CVSS 8.5 (High)
- Published: 2026-11-26
- Modified: 2026-11-26

## Tracked as

- [CVE-2026-135377](https://cve.now/CVE-2026-135377.md): Canonical LXD information disclosure in API responses and host artifacts

## Description

### Summary

> **Reported from Incus.** This advisory was copied from the Incus advisory [GHSA-44g3-g988-46rg](https://github.com/lxc/incus/security/advisories/GHSA-44g3-g988-46rg).

A number of API responses, exported files and host side artifacts
contained more than their recipient is allowed to see:

- `GET /1.0` returned the complete server configuration, credentials
  included, to anyone holding the read-only `viewer` or `user` relation
  on the server under OpenFGA.
- The `qemu.qmp.log` file of a virtual machine, which can be downloaded
  by anyone allowed to view the instance, contained the Ceph key used
  for its RBD disks.
- Instance backups and migration streams carried the full record of
  the storage pool holding the instance.
- The `used_by` field of network integrations, network ACLs and
  cluster groups wasn't filtered by what the caller may view.
- The network and network allocation lists applied the restrictions of
  the project named in the request, rather than those of the caller's
  projects, when `all-projects` was set.
- The error returned by a failed profile update named every affected
  instance of every project.
- Events without a project, such as the progress of a cluster
  evacuation, were sent to every event listener.
- The environment of a command run through `incus exec` in a container
  was passed to a helper process on its command line.
- An exec request made without any output stream left the command
  writing to the instance's log files on the host.
- Storage bucket key names and credentials were passed unchecked to
  `radosgw-admin` on `cephobject` pools.

### Impact

An identity with read-only access to the server under OpenFGA can read
the OpenFGA API token, the ACME account key, proxy URLs with their
credentials, logging target passwords and the private keys used for
OVN, LINSTOR and TPM. With the OpenFGA token and network access to
the OpenFGA API, it can grant itself full administrative access to the
Incus server.

A client allowed to view a virtual machine backed by Ceph can obtain
the Ceph key used by Incus, which gives access to every image that key
can reach on the Ceph cluster, including those of other projects.

A client restricted to a project can read the configuration of the
storage pool holding its instances, including the `source` path and
any API key stored there, by exporting an instance or copying it to a
server it controls. It can also learn the names of networks, network
peers, instances, profiles and projects it has no access to, list the
networks its project's `restricted.networks.access` is meant to hide,
and follow cluster-wide operations naming other projects' instances.
With access to a `cephobject` pool, it can add arguments of its choice
to a `radosgw-admin` command run as root with the pool's Ceph identity.

A client allowed to run commands in a container can write an unlimited
amount of data to log files on the host, outside of any disk limit,
and overwrite those instance logs.

Any local user on the host, including one with no access to Incus, can
read the environment variables of commands being run in containers
from the process list. That covers the `environment.*` keys of the
instance and the environment set by its image.

### Workarounds

Don't grant the `viewer` or `user` relation on the server to
identities that shouldn't see credentials, and keep the OpenFGA API
unreachable from those users.

Set `ceph.user.name` on Ceph pools to a user limited to the pool
rather than `client.admin`, and keep the Ceph monitors unreachable
from instances and API clients.

Mounting `/proc` with `hidepid=2` on the host hides the helper's
command line from other local users.

There is no workaround for the other issues.

## References

- https://github.com/canonical/lxd/security/advisories/GHSA-9ggh-g7fm-7fjj

Page: https://cve.now/GHSA-9GGH-G7FM-7FJJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
