Skip to main content

Netflix Lemur CVE-2026-44304

HIGH
LDAP Injection (CWE-90)
2026-05-06 https://github.com/Netflix/lemur GHSA-3r34-vq8m-39gh
8.1
CVSS 3.1 · Vendor: https://github.com/Netflix/lemur
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid LDAP credentials
  2. Delivery
    Send POST /auth/login with LDAP-injected username
  3. Exploit
    Bypass intended filter logic
  4. Execution
    Manipulate group membership query
  5. Persist
    Receive admin role assignment
  6. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi lemur fix: 1.9.0

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

Vendor (https://github.com/Netflix/lemur) PRIMARY 8.1 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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):

python
ldap_filter = "userPrincipalName=%s" % self.ldap_principal

self.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):

python
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:

  1. Inject LDAP filter syntax into the username field during login
  2. Manipulate the group membership query to return arbitrary groups
  3. Be assigned the admin role or any other privileged role in Lemur
  4. Gain unauthorized access to all certificates, private keys (via /certificates/<id>/key), and CA configurations
  5. 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

  1. Deploy Lemur with LDAP authentication enabled:
python
   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"
  1. Create a valid LDAP user account
  2. 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"
   }
  1. The LDAP filter becomes:
   userPrincipalName=validuser)(memberOf=CN=LemurAdmins,DC=corp,DC=example,DC=com@corp.example.com
  1. Depending on the LDAP server's parsing, this can alter query semantics
  2. 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:

python
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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 CRITICAL

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

pkg:pip/lemur

More in LDAP

View all
CVE-2016-9299 CRITICAL POC
9.8 Jan 12

The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a

CVE-2017-14596 CRITICAL POC
9.8 Sep 20

In Joomla!. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required,

CVE-2017-8790 CRITICAL POC
9.8 May 05

An issue was discovered on Accellion FTA devices before FTA_9_12_180. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-15723 HIGH POC
8.2 Oct 21

An authenticated GitLab user can seize control of an existing LDAP-backed account on instances that have both OmniAuth S

CVE-2026-11748 MEDIUM POC
6.9 Jun 22

LDAP injection in Central Dogma's Apache Shiro-based authentication module exposes unauthenticated remote attackers to a

CVE-2023-28853 MEDIUM POC
6.5 Apr 04

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2020-36966 MEDIUM POC
6.4 Jan 30

Dolibarr 11.0.3 contains a persistent cross-site scripting vulnerability in LDAP synchronization settings that allows at

CVE-2025-36556 MEDIUM POC
6.1 Jan 20

A reflected cross-site scripting (xss) vulnerability exists in the ldapUser functionality of MedDream PACS Premium 7.3.6

CVE-2026-23906 CRITICAL
9.8 Feb 10

Authentication bypass in Apache Druid versions 0.17.0 through 35.x. Affects all versions prior to 36.0.0 when specific p

CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2024-33868 CRITICAL
9.8 May 14

An issue was discovered in linqi before 1.4.0.1 on Windows. Rated critical severity (CVSS 9.8), this vulnerability is re

CVE-2023-6905 CRITICAL
9.8 Dec 18

A vulnerability, which was classified as problematic, has been found in Jahastech NxFilter 4.3.2.5.jsp?actionFlag=test&i

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy