CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-3351

CVE-2026-3351: Authorization Bypass in Canonical LXD Certificates API

Amit Schendel
Amit Schendel
Senior Security Researcher

Mar 4, 2026·5 min read·73 visits

Executive Summary (TL;DR)

Restricted users can bypass authorization checks in LXD's certificate API to list all trusted certificate fingerprints. This allows reconnaissance of the cluster's trust relationships.

A Missing Authorization vulnerability in Canonical LXD allows authenticated, restricted users to enumerate the fingerprints of all trusted certificates via the API. The flaw exists in the non-recursive handling of the GET /1.0/certificates endpoint, bypassing per-object visibility controls.

Vulnerability Overview

Canonical LXD, a system container manager, exposes a REST API for management and orchestration. The API includes an endpoint, /1.0/certificates, designed to list the certificates currently trusted by the LXD server (e.g., for client authentication or cluster communication). Access to this endpoint is guarded by authentication and an authorization model that supports restricted tokens with granular permissions.

In LXD version 6.6, a vulnerability exists in the logic handling this endpoint. While the system correctly enforces granular visibility permissions when a client requests a recursive list (detailed object data), it fails to apply these same checks when serving a standard, non-recursive list (URLs and fingerprints only). Consequently, an attacker possessing a valid but restricted authentication token can enumerate the entire set of trusted certificates, identifying entities that should be invisible to them based on their entitlement scope.

Root Cause Analysis

The root cause lies in the control flow implementation within lxd/certificates.go inside the certificatesGet handler. The handler retrieves the complete list of certificates (baseCerts) from the cluster database and is intended to filter this list based on the requestor's permissions. The filtering logic utilizes a helper function, userHasPermission, to verify if the caller has EntitlementCanView for a specific certificate.

The logic diverged based on the recursion query parameter:

  1. Recursive Path (?recursion=1): The code iterated through baseCerts, explicitly called userHasPermission for each item, and only included authorized certificates in the response.
  2. Non-Recursive Path (Default): The code entered a separate block that iterated through the raw baseCerts slice. Crucially, this block lacked the userHasPermission check entirely. It unconditionally constructed the resource URL (containing the SHA-256 fingerprint) for every certificate in the database and returned the list.

This inconsistency allowed the non-recursive path to act as a side-channel for enumeration, leaking the existence and fingerprints of certificates that were otherwise protected by the authorization layer.

Code Analysis

The vulnerability was addressed by consolidating the response generation logic. The patch removes the divergent path for non-recursive requests and forces all iterations to pass through the authorization check.

Vulnerable Logic (Conceptual):

// Logic prior to fix
if recursion {
    for _, cert := range baseCerts {
        if !userHasPermission(cert) { continue }
        // Add full details
    }
} else {
    // VULNERABILITY: No permission check here
    for _, cert := range baseCerts {
        urls = append(urls, "/1.0/certificates/" + cert.Fingerprint)
    }
}

Patched Logic:

The fix ensures that userHasPermission guards the addition of any data to the response, regardless of the recursion mode. The URL construction is moved inside the authorized block.

// Fixed logic in d936c90d47cf0be1e9757df897f769e9887ebde1
for _, baseCert := range baseCerts {
    // Unified authorization check
    if !userHasPermission(baseCert.Fingerprint) {
        continue
    }
 
    if recursion {
        // Add full details for recursive response
        // ...
    } else {
        // Only append URL if authorized
        url := api.NewURL().Path(version.APIVersion, "certificates", baseCert.Fingerprint)
        certURLs = append(certURLs, url.String())
    }
}

This change guarantees that if a user cannot view a certificate object, they cannot see its URL or fingerprint in the list, aligning the behavior of both API modes.

Exploitation

Exploitation of CVE-2026-3351 requires a valid authentication token. This could be a restricted certificate or a bearer token issued with limited scopes. The attacker does not need high privileges; a token with zero explicit permissions is sufficient to trigger the leak.

Attack Scenario:

  1. Prerequisites: The attacker obtains a restricted bearer token.
  2. Execution: The attacker sends a GET request to the /1.0/certificates endpoint without the recursion parameter.
# Example using the LXD command line tool alias
export LXD_AUTH_BEARER_TOKEN="<restricted_token>"
lxc query /1.0/certificates

Result:

The server returns a JSON array containing the URLs of all trusted certificates, revealing their SHA-256 fingerprints:

[
    "/1.0/certificates/75329c73266fc8f36581ae5508ef4347e4eaa696eed09089c4dc7be68198bf7a",
    "/1.0/certificates/a1b2c3d4..."
]

This output confirms the presence of these certificates in the trust store. If the fix were applied, an empty list [] (or only the certificates the user explicitly owns) would be returned.

Impact Assessment

The impact of this vulnerability is classified as Low (CVSS 2.1) because it involves information leakage of non-secret identifiers rather than direct compromise of confidentiality or integrity.

  • Confidentiality (Low): The specific data leaked consists of certificate fingerprints (hashes). While fingerprints are unique identifiers, they do not inherently expose the private key or the certificate contents (Subject, SANs, etc.). However, knowing the fingerprint allows an attacker to map trust relationships or verify if a specific known certificate is trusted by the server.
  • Authorization Bypass: The core issue is the failure of the security model. The system fails to enforce "Can View" entitlements, allowing lateral visibility that should be restricted.
  • Attack Vector: Network-based (AV:N), requiring low privileges (PR:L). It is not exploitable by unauthenticated users.

This vulnerability is primarily useful for reconnaissance, helping an attacker understand the cluster's topology or identity management structure before attempting further lateral movement.

Official Patches

CanonicalPull Request #17738: API fixes

Fix Analysis (1)

Technical Appendix

CVSS Score
2.1/ 10
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
EPSS Probability
0.02%

Affected Systems

Canonical LXD 6.6

Affected Versions Detail

Product
Affected Versions
Fixed Version
LXD
Canonical
= 6.6See Vendor Advisory
AttributeDetail
CVE IDCVE-2026-3351
CVSS v4.02.1 (Low)
CWECWE-862 (Missing Authorization)
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L
Attack ComplexityLow
Privileges RequiredLow (Authenticated)

MITRE ATT&CK Mapping

T1087Account Discovery
Discovery
T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-862
Missing Authorization

Vulnerability Timeline

Patch Committed
2026-02-24
Vulnerability Disclosed
2026-03-03

References & Sources

  • [1]GHSA-crmg-9m86-636r
  • [2]NVD CVE-2026-3351

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-56682
5.3

CVE-2026-56682: Rate Limiter Lockout Bypass via Header Spoofing in 9Router

A rate limiting bypass vulnerability in 9Router versions before 0.5.6 allows unauthenticated remote attackers to circumvent the login progressive lockout mechanism. By manipulating the client-supplied X-9r-Real-Ip HTTP header, an attacker can rotate the tracking IP address, enabling unthrottled brute-force password guessing against the administrative interface.

Alon Barad
Alon Barad
3 views•7 min read
•about 2 hours ago•CVE-2026-58272
5.3

CVE-2026-58272: Username Enumeration via Timing Side-Channel in Sync-in Server

CVE-2026-58272 is a timing side-channel vulnerability in the authentication endpoint of Sync-in Server before version 2.4.1. Unauthenticated remote attackers can distinguish between valid and invalid usernames due to asymmetric execution paths. When processing invalid usernames, the database query returns early, skipping the computationally expensive bcrypt verification path that is normally triggered for valid accounts.

Alon Barad
Alon Barad
4 views•7 min read
•about 3 hours ago•CVE-2026-61612
5.7

CVE-2026-61612: Server-Side Request Forgery Bypass via DNS Resolution in CKAN MCP Server

An input validation bypass in the CKAN MCP Server (NPM package @aborruso/ckan-mcp-server) prior to version 0.4.108 allows remote attackers to perform Server-Side Request Forgery (SSRF). The application's server URL validation mechanism checked hostnames only as literal strings without performing pre-connection DNS resolution. An attacker can bypass these checks using hostnames that resolve to loopback, private, or link-local IP addresses, including the AWS Instance Metadata Service (IMDS). This is the third documented bypass of this protection mechanism, succeeding previous incomplete mitigations in CVE-2026-33060 and CVE-2026-53509.

Alon Barad
Alon Barad
5 views•7 min read
•about 17 hours ago•GHSA-JHJP-4C2Q-XMX4
8.1

GHSA-JHJP-4C2Q-XMX4: Falco k8saudit Plugin Ruleset Bypass via initContainers and ephemeralContainers

A security feature bypass vulnerability in the Falco k8saudit plugin (and its cloud-specific variants) allowed privileged workloads to run undetected. This bypass occurred because the plugin's default extraction logic and rules only evaluated standard containers, completely omitting initContainers and ephemeralContainers.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 18 hours ago•CVE-2026-61630
4.2

CVE-2026-61630: Time-Based One-Time Password (TOTP) Reuse/Replay in nginx-ignition

nginx-ignition is a web-based user interface for managing the Nginx web server. In versions 2.33.0 through 2.35.0, the application is vulnerable to an improper authentication flaw (CWE-287) in its Multi-Factor Authentication (MFA) implementation. The stateless validation of Time-Based One-Time Passwords (TOTP) allows an attacker to reuse a captured, active verification code multiple times within the standard 30-second validity window, successfully bypassing secondary authentication checks if primary credentials are known.

Amit Schendel
Amit Schendel
10 views•5 min read
•about 19 hours ago•CVE-2026-61629
7.5

CVE-2026-61629: CPU Amplification Denial of Service via ParseAcceptLanguage Underscore Bypass

A vulnerability exists in the i18n middleware of nginx-ignition, enabling CPU amplification attacks. By transmitting a crafted Accept-Language header containing malformed tags separated by underscores, an unauthenticated remote attacker can bypass the length-guard threshold of the underlying Go parsing library. Normalization of underscores to hyphens occurs after the initial validation checks, forcing the parser into expensive quadratic-time loops that consume 100% of available CPU resources. This leads to a complete denial of service for the administrative API and potentially degrades the availability of the hosting system. This vulnerability has been resolved in version 2.40.1.

Alon Barad
Alon Barad
7 views•7 min read