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·24 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

•2 minutes ago•CVE-2026-109619
9.2

CVE-2026-109619: Remote Code Execution in PHP Core via Stale Global State Memory Corruption (PHP2Shell)

CVE-2026-109619 (PHP2Shell) is a critical Use-After-Free vulnerability in the core PHP engine caused by improper global state cleanup during out-of-memory exception handling across persistent worker requests.

Alon Barad
Alon Barad
1 views•6 min read
•5 minutes ago•CVE-2026-113721
4.5

CVE-2026-113721: Unsafe Link Resolution in virtualenv File Generation

In Python virtualenv prior to version 21.14.9, activation script generators and configuration writers use Path.exists() before writing files. Because Path.exists() resolves symbolic links, it returns False for dangling symlinks. Consequently, virtualenv skips unlinking pre-planted symbolic links or hard links, writing data directly to target locations outside the intended virtual environment directory.

Amit Schendel
Amit Schendel
1 views•5 min read
•9 days ago•CVE-2026-87697
8.8

CVE-2026-87697: Untrusted Deserialization in .NET PresentationCore Clipboard Handling

A remote code execution vulnerability exists in Microsoft .NET due to untrusted data deserialization within the PresentationCore component. The flaw stems from implicit auto-conversion flags during clipboard data retrieval operations.

Alon Barad
Alon Barad
31 views•5 min read
•9 days ago•CVE-2026-70007
8.8

CVE-2026-70007: Out-of-Bounds Write Vulnerability in .NET Framework and WPF Subsystem

An out-of-bounds write vulnerability in Microsoft .NET Framework, .NET runtime, and Visual Studio allows unauthenticated remote attackers to execute arbitrary code via crafted pixel-shader bytecode or auto-converted clipboard payloads.

Amit Schendel
Amit Schendel
19 views•6 min read
•10 days ago•CVE-2026-70186
7.5

CVE-2026-70186: ASP.NET Core Denial of Service Vulnerability via Framework Deadlock

ASP.NET Core contains a thread deadlock vulnerability (CWE-833) that allows an unauthenticated remote attacker to cause a denial of service over the network by exhausting server thread pool resources.

Amit Schendel
Amit Schendel
18 views•5 min read
•10 days ago•CVE-2026-70035
8.8

CVE-2026-70035: Insecure Deserialization Remote Code Execution in Microsoft .NET Framework and .NET Runtime

CVE-2026-70035 is a high-severity Remote Code Execution (RCE) vulnerability in Microsoft .NET Framework, .NET runtime, and Visual Studio caused by improper handling during the deserialization of untrusted data (CWE-502). An unauthenticated attacker can execute arbitrary code within the context of the affected process by delivering a crafted serialized payload.

Amit Schendel
Amit Schendel
24 views•6 min read