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-71322

CVE-2026-71322: Missing Authorization Check in Netflix Lemur Certificate Export

Alon Barad
Alon Barad
Software Engineer

Aug 19, 2026·6 min read·18 visits

Executive Summary (TL;DR)

A structural nesting error in Netflix Lemur allows authenticated users to bypass ownership authorization checks and export public certificates by selecting export plugins that do not require private keys.

Netflix Lemur, a TLS/SSL certificate management framework, contains a missing authorization check in its certificate export endpoint. Prior to version 1.9.3, the validation logic verifying whether a user had permission to export a certificate was incorrectly placed inside a block that executed only if the selected plugin required a private key. When an authenticated user attempted to export a certificate using a plugin that did not require the private key, the authorization check was bypassed, allowing unauthorized access to the public portions of the certificate and producing misleading audit logs.

Vulnerability Overview

Netflix Lemur serves as an orchestration platform for TLS/SSL certificate management, providing automated certificate provisioning, tracking, and renewal. It exposes an administrative REST API allowing users to manage, share, and export certificate material. Security boundaries are maintained via role-based access control (RBAC), restricting certificate modification and export operations to the certificate owner or designated administrators.

The vulnerability is classified as CWE-862 (Missing Authorization) and resides in the API endpoint handling certificate exports (POST /api/1/certificates/<certificate_id>/export). The core issue stems from nested logic that binds the execution of authorization checks to specific attributes of the selected export plugin rather than applying the permission check unconditionally to the target resource.

The attack surface is accessible to any authenticated user of the Lemur platform. Exploitation allows unauthorized users to retrieve truststore formats and public certificate data of assets they do not own, potentially disclosing internal network structures, domains, or certificate metadata.

Root Cause Analysis

The root cause of CVE-2026-71322 is a control flow defect in lemur/certificates/views.py. During an export operation, Lemur utilizes helper plugins to format the output data (such as JKS truststores or PKCS12 keystores). These plugins declare whether they require access to the certificate's private key via the boolean attribute plugin.requires_key.

In the unpatched code, the conditional block evaluating certificate permission was nested entirely within the scope of an if plugin.requires_key: block. If a plugin set this boolean value to False, the control flow completely bypassed the nested authorization check (CertificatePermission), proceeding directly to the export implementation phase.

Furthermore, the unpatched architecture executed log auditing (key_view) and parameter passing unconditionally outside this conditional branch. This design meant that the private key parameter was still passed to the plugin's export method, and a key_view audit entry was logged, even if the plugin had declared it did not need the private key. This logic flow resulted in false audit trails and potential exposure of sensitive key handles to unauthorized plugins.

Code Analysis and Patch Evaluation

An examination of the vulnerable code in lemur/certificates/views.py reveals the flawed logical nesting:

# VULNERABLE CODE PATH
if plugin.requires_key:
    if not cert.private_key:
        return (...)
    else:
        # Permission check nested only here
        if g.current_user != cert.user:
            owner_role = role_service.get_by_name(cert.owner)
            permission = CertificatePermission(owner_role, [x.name for x in cert.roles])
            if not permission.can():
                return (dict(message="Unauthorized"), 403)
 
# Bypassed code block executions
log_service.create(g.current_user, "key_view", certificate=cert)
extension, passphrase, data = plugin.export(
    cert.body, cert.chain, cert.private_key, options
)

The fix introduced in commit 5683bbea8b10cce07f9a8abf1e4a7d3b2031c585 corrects this flow by introducing an isolated private_key variable initialized to None and refactoring the logic structure:

# PATCHED CODE PATH
private_key = None
if plugin.requires_key:
    if not cert.private_key:
        return (...)
 
    # Permission validation is executed whenever requires_key is true
    if g.current_user != cert.user:
        owner_role = role_service.get_by_name(cert.owner)
        permission = CertificatePermission(owner_role, [x.name for x in cert.roles])
        if not permission.can():
            return (dict(message="Unauthorized"), 403)
 
    # Audit logging and key assignment are restricted strictly to this block
    log_service.create(g.current_user, "key_view", certificate=cert)
    private_key = cert.private_key
 
options = data["plugin"]["plugin_options"]
extension, passphrase, data = plugin.export(
    cert.body, cert.chain, private_key, options
)

The patch successfully mitigates the vulnerability by isolating the private key pointer. Because private_key is assigned None for plugins where requires_key = False, no private key is passed into the format handler. Furthermore, actual private key operations are bound directly to the user's role permission check, blocking unauthorized credential leakage.

Exploitation Methodology

To exploit this vulnerability, an attacker must possess authenticated API access to the Netflix Lemur target application. The attacker executes the attack using a custom REST request directed at the export endpoint.

First, the attacker identifies a certificate ID of interest (cert_id). The target certificate does not have to belong to the attacker's assigned user role. Second, the attacker generates a POST request to /api/1/certificates/{cert_id}/export specifying an export plugin that does not request private keys, such as java-truststore-jks:

{
  "plugin": {
    "slug": "java-truststore-jks",
    "plugin_options": []
  }
}

Because the requested plugin has requires_key = False, the unpatched Lemur instance skips the CertificatePermission verification check. The handler retrieves the certificate body and public chain, formats them into a Java KeyStore structure, and returns the file payload to the unauthorized user. The transaction completes with an HTTP status 200 OK.

Security Impact Assessment

The overall security impact is classified as Medium, yielding a CVSS score of 4.3. The vulnerability does not allow direct remote code execution or structural modifications to certificates. However, it severely degrades the confidentiality of public key infrastructure metadata and impairs audit log integrity.

Unauthorized export of public certificate structures allows actors to map out trusted target hostnames, subdomains, and certificate properties. Additionally, on unpatched servers, a successful exploit triggers a false positive key_view audit log entry in the database. This obscures genuine private-key export tracking, leading to audit pollution and making security operations detection efforts unreliable.

A latent risk also exists if a third-party or locally developed export plugin, configured with requires_key = False, internally processes or exfiltrates the third parameter during export. In such cases, unpatched Lemur systems would expose the raw private key parameters directly to the plugin without verifying user authorization.

Detection and Remediation

Remediation requires upgrading Netflix Lemur instances to version 1.9.3 or higher. This release relocates the authorization evaluations and limits private key material to authorized execution scopes.

If immediate software upgrade is not feasible, security engineers should implement temporary workarounds. First, restrict network-level access to the export API endpoints utilizing upstream gateways or Web Application Firewalls (WAF). Allow endpoint interaction only for authenticated administrators.

Second, review customized or third-party export plugins to ensure none declare requires_key = False if they perform caching, logging, or storage of execution arguments. To monitor for past exploitation attempts, audit Lemur logs for occurrences where key_view audit actions are linked to accounts that do not have authorization or owner status over the targeted certificates.

Official Patches

NetflixFix CertificatePermission authorization check bypass in CertificateExport
NetflixNetflix Lemur 1.9.3 Release

Fix Analysis (1)

Technical Appendix

CVSS Score
4.3/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected Systems

Netflix Lemur

Affected Versions Detail

Product
Affected Versions
Fixed Version
Lemur
Netflix
< 1.9.31.9.3
AttributeDetail
CWE IDCWE-862 (Missing Authorization)
Attack VectorNetwork
CVSS v3.14.3 (Medium)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Exploit Statusnone
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-862
Missing Authorization

The software does not perform an authorization check when an actor attempts to access a resource or perform an action.

Vulnerability Timeline

Vulnerability identified and patched internally by Netflix
2026-07-01
GitHub Advisory Published and CVE-2026-71322 Registered
2026-08-18
Netflix Lemur v1.9.3 Released
2026-08-18

References & Sources

  • [1]GHSA-4h97-p9wq-chqj
  • [2]NVD - CVE-2026-71322

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

•1 day ago•CVE-2026-11748
6.9

CVE-2026-11748: Unauthenticated LDAP Injection in Central Dogma Server Authentication

An LDAP injection vulnerability exists in the centraldogma-server-auth-shiro module of LY Corporation Central Dogma before version 0.84.0. The search logic dynamically constructs LDAP search filters by interpolating user-provided usernames without escaping RFC 4515 metacharacters. Unauthenticated remote attackers can leverage this flaw to bypass authentication, enumerate directory hierarchies, and access unauthorized resources.

Alon Barad
Alon Barad
9 views•6 min read
•1 day ago•CVE-2026-11746
9.4

CVE-2026-11746: Use of Hard-coded ZooKeeper Replication Secret 'ch4n63m3' in Central Dogma Server

CVE-2026-11746 is a critical vulnerability in Central Dogma Server prior to version 0.84.0, where an embedded ZooKeeper replication secret silently falls back to a publicly known, hard-coded default string ('ch4n63m3'). Remote attackers with access to the replication network can authenticate as legitimate cluster peers, potentially leading to unauthorized data exposure, state manipulation, or complete cluster takeover.

Amit Schendel
Amit Schendel
7 views•6 min read
•1 day ago•CVE-2026-56665
4.2

CVE-2026-56665: Logical Validation Bypass in ZITADEL External JWT Identity Provider

A logical verification flaw in ZITADEL's external JWT Identity Provider validation allows attackers to bypass session expiration checks. If an incoming JWT lacks the 'exp' claim, the system skips validation entirely, creating an indefinitely valid session. This issue has been addressed in versions 3.4.12 and 4.15.2.

Alon Barad
Alon Barad
6 views•7 min read
•1 day ago•CVE-2026-59149
6.5

CVE-2026-59149: Sibling Directory Path Traversal in Mockoon Backend Server

CVE-2026-59149 identifies a directory traversal vulnerability in `@mockoon/commons-server`, the backend mock-server library powering the Mockoon application. The flaw occurs in the path containment validation logic used during raw file response generation. An unauthenticated attacker can exploit this weakness to retrieve arbitrary files from sibling directories sharing a common prefix with the designated static base directory.

Amit Schendel
Amit Schendel
9 views•5 min read
•1 day ago•CVE-2026-59148
8.8

CVE-2026-59148: Unauthenticated Administrative API and CORS Misconfiguration in Mockoon

An in-depth analysis of CVE-2026-59148, a high-severity flaw in Mockoon where unauthenticated administrative endpoints and a wildcard Cross-Origin Resource Sharing (CORS) policy allow remote execution, state poisoning, and credential theft.

Alon Barad
Alon Barad
11 views•6 min read
•1 day ago•CVE-2026-56666
4.8

CVE-2026-56666: Account Takeover via Improper Email Verification in ZITADEL Federated Identity Handler

An improper authentication vulnerability (CWE-287) in ZITADEL's external identity provider handler before version 4.15.3 allows remote attackers to perform complete account takeover. When auto-linking by email is enabled, ZITADEL verifies that the local target account has a verified email address but fails to verify if the external provider confirmed ownership of that same email. Attackers can exploit this by registering an unverified account with a victim's email address on a permissive external provider, leading to unauthorized account binding and persistent access.

Amit Schendel
Amit Schendel
7 views•7 min read