All vulnerabilities

Servers and applications

CVE-2026-3351

Non-recursive certificate listing bypasses per-object authorization and leaks all fingerprints

Severity
Low 2.1
Published
3 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.2% in the next 30 daysHigher than 4% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-crmg-9m86-636r
Sources
NVD, Project advisories (GitHub)

Description

The GET /1.0/certificates endpoint (non-recursive mode) returns URLs containing fingerprints for all certificates in the trust store, bypassing the per-object can_view authorization check that is correctly applied in the recursive path. Any authenticated identity — including restricted, non-admin users — can enumerate all certificate fingerprints, exposing the full set of trusted identities in the LXD deployment.

The certificatesGet handler obtains a permission checker at line 143 and correctly applies it when building the recursive response (lines 163-176). However, the non-recursive code path at lines 185-192 creates a fresh loop over the unfiltered baseCerts slice, completely bypassing the authorization check:

Five other list endpoints in the same codebase correctly filter results in both recursive and non-recursive paths:

The certificates endpoint is the sole outlier, confirming this is an oversight rather than a design choice.

From canonical/lxd's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LXDServers and applications · cpe:a:canonical:lxd
  • Version 6.6
LXDServers and applications · github:canonical/lxd
  • Version 6.6

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,852GitHub, 15 Nov 2026
Forks
1,074GitHub, 15 Nov 2026
Latest release
lxd-6.10.1GitHub, 15 Nov 2026
Released
28 Oct 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-3351
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-3351
  • GitHub Advisory Database https://github.com/advisories/GHSA-crmg-9m86-636r
  • github.com https://github.com/canonical/lxd/security/advisories/GHSA-crmg-9m86-636r