Netflix Lemur CVE-2026-44304
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid LDAP credentials
-
DeliverySend POST /auth/login with LDAP-injected username
-
ExploitBypass intended filter logic
-
ExecutionManipulate group membership query
-
PersistReceive admin role assignment
-
ImpactAccess certificate private keys and CA controls
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization LDAP query parameterization
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires valid LDAP credentials (username and password) for initial authentication-the LDAP simple_bind_s() call must succeed before the vulnerable filter code is reached, making this strictly post-authentication privilege escalation (CVSS PR:L). Lemur deployment must have LDAP authentication explicitly enabled via LDAP_AUTH = True configuration parameter. The vulnerability is exploitable against both standalone LDAP servers and Active Directory LDAP configurations (LDAP_IS_ACTIVE_DIRECTORY = True). Attack is remotely exploitable over the network (AV:N) against the /auth/login HTTP endpoint with low complexity (AC:L) requiring no user interaction (UI:N). Exploitation does NOT require administrator credentials, non-default configurations beyond enabling LDAP authentication, or special product features-default LDAP integration using the vulnerable lemur/auth/ldap.py module is sufficient. The vulnerability exists in the code path executed during normal LDAP authentication flows when constructing user lookup and group membership queries. |
| Impact | Real-world risk is HIGH for organizations using Lemur with LDAP authentication enabled. The CVSS 8.1 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) accurately reflects network-exploitability by low-privileged authenticated users with no user interaction required, though the PR:L (low privileges required) qualifier is critical-attackers need valid LDAP credentials first, making this post-authentication privilege escalation rather than initial access. Attack complexity is LOW because exploitation requires only crafting a malicious username string with LDAP metacharacters. The confidentiality and integrity impact is HIGH (access to all private keys and certificate issuance capabilities), while availability impact is NONE. EPSS data not provided, but risk signals converge: vendor-confirmed vulnerability with detailed reproduction steps in GitHub security advisory, specific vulnerable code locations identified, and concrete exploitation constraints documented. The vulnerability's severity is amplified in certificate management contexts where Lemur controls cryptographic trust infrastructure-successful exploitation grants attackers capability to issue fraudulent certificates under any authority, intercept TLS communications, or extract private keys for sensitive certificates. Mitigating factor: requires LDAP authentication to be enabled (LDAP_AUTH = True) and attacker must possess valid credentials, limiting exposure to insider threats or scenarios where attackers have already compromised low-privilege LDAP accounts. Organizations not using LDAP authentication are not affected. SSVC exploitation status: publicly known method with proof-of-concept reproduction steps, automatable given valid credentials, technical impact is TOTAL (admin privileges), suggesting Priority 1 patching for affected deployments. |
| Exploit ScenarioDerived | An attacker with valid low-privilege LDAP credentials (e.g., a compromised employee account or contractor with basic domain access) authenticates to a Lemur instance deployed with LDAP integration. During login at POST /auth/login, the attacker submits a crafted username containing LDAP filter metacharacters such as 'validuser)(memberOf=CN=LemurAdmins,DC=corp,DC=example,DC=com'. This injection manipulates the LDAP group membership query to falsely return that the attacker belongs to the LemurAdmins group, causing Lemur to assign administrator privileges. The attacker then accesses /certificates/<id>/key endpoints to exfiltrate private keys for production TLS certificates or issues fraudulent certificates under the organization's certificate authorities, enabling man-in-the-middle attacks against internal or customer-facing services. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
LDAP filter injection in Netflix Lemur certificate management platform allows authenticated users with valid LDAP credentials to escalate privileges to administrator by injecting metacharacters into the username field during login. Attackers manipulate group membership queries to gain unauthorized admin roles, enabling access to all certificates, private keys via /certificates/<id>/key endpoint, and CA configurations. Vendor-released patch confirmed in version 1.9.0 (GitHub advisory GHSA-3r34-vq8m-39gh). CVSS 8.1 indicates high confidentiality and integrity impact with low attack complexity from network-authenticated attackers. No public exploit code identified at time of analysis, though detailed reproduction steps exist in the advisory.
RemediationAI
Upgrade to Netflix Lemur version 1.9.0 or later, which contains fixes for this LDAP injection vulnerability as confirmed in the GitHub security advisory GHSA-3r34-vq8m-39gh (https://github.com/Netflix/lemur/security/advisories/GHSA-3r34-vq8m-39gh) and release notes (https://github.com/Netflix/lemur/releases/tag/v1.9.0). The patch applies ldap.filter.escape_filter_chars() sanitization to user-controlled input before LDAP filter construction. If immediate patching is not feasible, disable LDAP authentication (set LDAP_AUTH = False) and use alternative authentication mechanisms such as OAuth, SAML, or local database authentication until upgrade can be completed-note this workaround prevents LDAP users from accessing the system entirely. As a compensating control, implement strict LDAP account monitoring and audit logging for privilege escalation events, though this is detective rather than preventive. Network segmentation to restrict access to Lemur's /auth/login endpoint to trusted networks reduces exposure but does not eliminate risk from insider threats or compromised low-privilege accounts. Review LDAP group membership assignments and certificate access logs for unauthorized administrative actions if breach is suspected post-deployment.
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
This vulnerability stems from unsafe Python string interpolation in Lemur's LDAP authentication module (lemur/auth/ldap.py). The code constructs LDAP search filters using percent-formatting and .format() methods without calling Python-LDAP's ldap.filter.escape_filter_chars() sanitization function. CWE-90 (Improper Neutralization of Special Elements used in an LDAP Query) occurs at two injection points: the userPrincipalName filter receiving unsanitized args["username"] from POST /auth/login, and the Active Directory group membership filter using userdn derived from the first tainted query. LDAP filter syntax uses parentheses, ampersands, and pipes as logical operators; injecting these metacharacters allows attackers to break out of intended filter structure and introduce arbitrary conditions. The vulnerability affects the python-ldap library integration pattern where developers bypass built-in escaping functions. Affected package identifier: pkg:pip/lemur versions prior to 1.9.0.
Know when LDAP 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:N/AC:L/PR:L/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
Lemur's LDAP authentication module (lemur/auth/ldap.py) constructs LDAP search filters using unsanitized user input via Python string interpolation. An authenticated LDAP user can inject LDAP filter metacharacters through the username field to manipulate group membership queries and escalate their privileges to administrator.
Vulnerable Code
Location: lemur/auth/ldap.py, _bind() method
Filter 1 - User lookup (line ~161):
ldap_filter = "userPrincipalName=%s" % self.ldap_principalself.ldap_principal is derived directly from args["username"] submitted at POST /auth/login with no sanitization. The ldap.filter.escape_filter_chars() function is never called.
Filter 2 - Active Directory group lookup (line ~189):
groupfilter = "(&(objectclass=group)(member:1.2.840.113556.1.4.1941:={}))".format(userdn)The userdn value is derived from the LDAP response to the first unsanitized query, making it potentially tainted as well.
Impact
An authenticated LDAP user can:
- Inject LDAP filter syntax into the username field during login
- Manipulate the group membership query to return arbitrary groups
- Be assigned the
adminrole or any other privileged role in Lemur - Gain unauthorized access to all certificates, private keys (via
/certificates/<id>/key), and CA configurations - Issue certificates under any authority
Exploitation Constraint
The simple_bind_s() call must succeed before the injectable filter is reached, so the attacker requires valid LDAP credentials. This is a post-authentication privilege escalation.
Steps to Reproduce
- Deploy Lemur with LDAP authentication enabled:
LDAP_AUTH = True
LDAP_IS_ACTIVE_DIRECTORY = True
LDAP_BIND_URI = "ldaps://dc.corp.example.com"
LDAP_BASE_DN = "DC=corp,DC=example,DC=com"
LDAP_EMAIL_DOMAIN = "corp.example.com"- Create a valid LDAP user account
- Send login request with crafted username containing LDAP metacharacters:
POST /auth/login
Content-Type: application/json
{
"username": "validuser)(memberOf=CN=LemurAdmins,DC=corp,DC=example,DC=com",
"password": "validpassword"
}- The LDAP filter becomes:
userPrincipalName=validuser)(memberOf=CN=LemurAdmins,DC=corp,DC=example,DC=com@corp.example.com- Depending on the LDAP server's parsing, this can alter query semantics
- The user is assigned roles they should not have access to
Remediation
Apply ldap.filter.escape_filter_chars() to all user-controlled values before interpolation:
from ldap.filter import escape_filter_chars
# Fix 1: User lookup filter
ldap_filter = "userPrincipalName=%s" % escape_filter_chars(self.ldap_principal)
# Fix 2: Active Directory group filter
groupfilter = "(&(objectclass=group)(member:1.2.840.113556.1.4.1941:={}))".format(
escape_filter_chars(userdn)
)Resources
- CWE-90: https://cwe.mitre.org/data/definitions/90.html
- OWASP LDAP Injection: https://owasp.org/www-community/attacks/LDAP_Injection
- Python ldap.filter.escape_filter_chars: https://www.python-ldap.org/en/python-ldap-3.4.0/reference/ldap-filter.html
Executive ViewAI
Netflix Lemur certificate management platform (versions prior to 1.9.0) is vulnerable to LDAP filter injection that permits authenticated users to escalate privileges to administrator, potentially exposing all managed certificates, private keys, and CA configurations. Organizations using Lemur for certificate lifecycle management face immediate risk of credential compromise and infrastructure certificate theft if users with valid LDAP access are compromised or malicious.
Vendor-released patch: version 1.9.0. Until patched, restrict LDAP authentication to minimally-privileged service accounts with no human access; implement network access controls limiting Lemur administrative interfaces to secured internal networks only; monitor LDAP query logs for injection metacharacters (* ? & | ) in username fields; enforce multi-factor authentication on all Lemur user accounts if supported.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Affected Products (CPE)CVE.org
The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a
In Joomla!. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required,
An issue was discovered on Accellion FTA devices before FTA_9_12_180. Rated critical severity (CVSS 9.8), this vulnerabi
An authenticated GitLab user can seize control of an existing LDAP-backed account on instances that have both OmniAuth S
LDAP injection in Central Dogma's Apache Shiro-based authentication module exposes unauthenticated remote attackers to a
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Dolibarr 11.0.3 contains a persistent cross-site scripting vulnerability in LDAP synchronization settings that allows at
A reflected cross-site scripting (xss) vulnerability exists in the ldapUser functionality of MedDream PACS Premium 7.3.6
Authentication bypass in Apache Druid versions 0.17.0 through 35.x. Affects all versions prior to 36.0.0 when specific p
Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)
An issue was discovered in linqi before 1.4.0.1 on Windows. Rated critical severity (CVSS 9.8), this vulnerability is re
A vulnerability, which was classified as problematic, has been found in Jahastech NxFilter 4.3.2.5.jsp?actionFlag=test&i
GHSA-3r34-vq8m-39gh
NVD
CVE.org
EPSS
Exploit-DB