Netflix Lemur CVE-2026-44305
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise network path
-
DeliveryDeploy TLS proxy
-
ExploitAccept self-signed LDAP certificate
-
InstallExtract credentials from intercepted TLS session
-
C2Inject admin group membership in LDAP response
-
ExecuteAuthenticate to Lemur as admin
-
ImpactAccess PKI and certificate management functions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires the following SPECIFIC conditions: (1) LDAP_AUTH must be enabled in Lemur configuration (LDAP_AUTH = True); (2) LDAP_USE_TLS must be set to True, which enables the vulnerable code path; (3) The LDAP_BIND_URI must point to an LDAP server reachable over the network. The vulnerability activates unconditionally when these configuration settings are present-there is no additional feature flag or special deployment mode. The attacker must have network-layer positioning between Lemur and the LDAP server (adjacent network, VLAN access, routing control, or compromise of intermediate network infrastructure). The vulnerability does NOT require user interaction, authentication to Lemur, or special Lemur functionality-it triggers on any LDAP authentication attempt. What LIMITS exploitation: (1) the attacker must be on the network path (AV:A in CVSS), not remotely exploitable via the internet; (2) the LDAP server must be configured to use TLS (ldaps:// protocol or STARTTLS), as exploitation of unencrypted LDAP does not benefit from certificate bypass; (3) organizations that do not use LDAP for Lemur authentication are unaffected. |
| Impact | CVSS 6.8 (AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) indicates high confidentiality and integrity impact but requires adjacent network access and high attack complexity, reflecting the MITM positioning requirement. The high complexity factor (AC:H) is appropriate because the attacker must be on the network path between Lemur and LDAP-not trivial but absolutely possible in shared network segments, compromised routers, or cloud environments where VLAN isolation is misconfigured. Real-world risk is SEVERE despite the CVSS complexity penalty because: (1) the vulnerability is in a certificate management system whose entire purpose is TLS security, creating an ironic and high-value target; (2) credential interception leads directly to PKI compromise, affecting all downstream certificate operations and potentially the organization's entire TLS infrastructure; (3) LDAP response modification allows privilege escalation without credential knowledge; (4) the vulnerability is unconditional-it activates whenever LDAP_USE_TLS is set to True, which is the documented configuration for production deployments; (5) no special attack sophistication is required once network positioning is achieved-tools like mitmproxy or stunnel suffice. The CVSS vector is consistent with the description: AV:A correctly specifies adjacent network access (MITM positioning), AC:H reflects the MITM setup effort, PR:N and UI:N confirm no credentials or user interaction needed once attack position is established, S:U means scope is limited to the LDAP authentication mechanism, and C:H/I:H reflect credential and response modification impacts. No EPSS or KEV status was provided in the input, but the fix confirmation in version 1.9.0 and the GitHub Security Advisory indicate this is a credible, documented vulnerability rather than speculative. The absence of POC code in references does not diminish risk-MITM proxy setup is a well-known technique. |
| Exploit ScenarioDerived | An attacker positioned on the network between a Lemur instance and its LDAP server (e.g., via ARP spoofing on a shared network segment, BGP hijacking, compromised network appliance, or cloud hypervisor compromise) intercepts the TLS connection. The attacker presents a self-signed or attacker-controlled certificate using mitmproxy or stunnel, and because Lemur's vulnerable code sets |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
Man-in-the-middle attacks can intercept LDAP credentials in Lemur when LDAP TLS is enabled because the authentication module globally disables TLS certificate verification using ldap.OPT_X_TLS_NEVER. Attackers positioned between Lemur and the LDAP server can capture plaintext usernames and passwords, modify LDAP group responses to grant admin access, and compromise the entire PKI infrastructure managed by Lemur. The vulnerability affects Lemur versions before 1.9.0 and is confirmed fixed in version 1.9.0.
RemediationAI
Upgrade Lemur to version 1.9.0 or later, which fixes the vulnerability by replacing the global ldap.set_option() call with instance-level options and changing OPT_X_TLS_NEVER to OPT_X_TLS_DEMAND to enforce strict certificate validation. The patched code sets TLS options on the LDAP client instance rather than globally, allowing proper per-connection verification. For organizations unable to upgrade immediately, the following workarounds provide limited mitigation: (1) disable LDAP_USE_TLS and instead configure LDAP_BIND_URI to use ldaps:// protocol with operating system-level TLS verification, though this does not fully remediate the code-level issue; (2) restrict network access to the LDAP server to prevent MITM positioning by implementing network segmentation, firewall rules blocking traffic from unauthorized sources, and monitoring for certificate mismatches; (3) deploy LDAP over a VPN or IPsec tunnel to the directory server, adding a second encryption layer independent of the vulnerable application code. However, these workarounds do not address the root cause and must be considered temporary until upgrade to 1.9.0. Reference the GitHub Security Advisory at https://github.com/advisories/GHSA-vr7c-r5gj-j3w5 for additional context and the release notes at https://github.com/Netflix/lemur/releases/tag/v1.9.0 for upgrade instructions.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Lemur is a certificate management platform that uses python-ldap for LDAP authentication when LDAP_USE_TLS = True. The vulnerable code in lemur/auth/ldap.py calls the global ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_NEVER) method, which disables TLS certificate verification at the Python process level rather than on a per-connection basis. The OPT_X_TLS_NEVER constant means the OpenSSL library accepts all certificates regardless of validity-self-signed, expired, wrong hostname, or revoked certificates are silently accepted. This is a CWE-295 (Improper Certificate Validation) vulnerability in which TLS certificate pinning and hostname verification are completely bypassed, enabling straightforward MITM attacks. The vulnerability exists because there is no configuration option to enable proper certificate validation, and the insecure setting is hardcoded when TLS is enabled.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (https://github.com/Netflix/lemur) · only source for this CVE.
CVSS VectorVendor: https://github.com/Netflix/lemur
DescriptionCVE.org
Description
Overview
When LDAP TLS is enabled (LDAP_USE_TLS = True), Lemur's LDAP authentication module unconditionally disables TLS certificate verification at the global ldap module level. This allows a man-in-the-middle attacker positioned between Lemur and the LDAP server to intercept all authentication credentials.
Vulnerable Code
Location: lemur/auth/ldap.py, _bind() method, line ~172
if self.ldap_use_tls:
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_NEVER)Key issues:
ldap.set_option()is a global call (as opposed toself.ldap_client.set_option()), meaning it disables TLS verification for the entire Python process, not just this connectionOPT_X_TLS_NEVERmeans no certificate validation is performed whatsoever - self-signed, expired, wrong hostname, and revoked certificates are all silently accepted- There is no configuration option to override this behavior - TLS verification is always disabled when TLS is enabled
Impact
A network-positioned attacker (man-in-the-middle) between Lemur and the LDAP server can:
- Intercept all LDAP credentials (usernames and plaintext passwords) for every user who authenticates
- Modify LDAP responses to inject arbitrary group memberships, granting admin access
- Compromise the entire PKI infrastructure managed by Lemur, since authentication controls access to certificates and private keys
This is particularly severe because Lemur is a certificate management system - the tool designed to manage TLS security is itself vulnerable to a TLS attack.
Steps to Reproduce
- Deploy Lemur with LDAP TLS enabled:
LDAP_AUTH = True
LDAP_USE_TLS = True
LDAP_BIND_URI = "ldaps://dc.corp.example.com"- Intercept the LDAP connection using a TLS proxy (e.g.,
mitmproxyorstunnel):
# Generate a self-signed certificate
openssl req -x509 -newkey rsa:2048 -keyout mitm.key -out mitm.crt -days 1 -nodes -subj "/CN=mitm"
# Proxy LDAP traffic
stunnel -d 0.0.0.0:636 -r real-ldap-server:636 -p mitm.pem- Point Lemur's
LDAP_BIND_URIat the proxy (or perform ARP spoofing/DNS hijacking) - Observe that Lemur connects without any certificate verification error
- All credentials are visible in the proxy's TLS session
Remediation
Remove the global TLS verification bypass and default to strict verification:
if self.ldap_use_tls:
# Use instance-level option, not global
self.ldap_client.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_DEMAND)
self.ldap_client.set_option(ldap.OPT_PROTOCOL_VERSION, 3)
if self.ldap_cacert_file:
self.ldap_client.set_option(ldap.OPT_X_TLS_CACERTFILE, self.ldap_cacert_file)If backward compatibility is needed, make it configurable with a secure default:
tls_require_cert = current_app.config.get("LDAP_TLS_REQUIRE_CERT", ldap.OPT_X_TLS_DEMAND)
self.ldap_client.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, tls_require_cert)Resources
- CWE-295: https://cwe.mitre.org/data/definitions/295.html
- python-ldap TLS documentation: https://www.python-ldap.org/en/python-ldap-3.4.0/reference/ldap.html#tls-options
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-vr7c-r5gj-j3w5
NVD
CVE.org
EPSS
Exploit-DB