Skip to main content

Apache Karaf CVE-2026-90979

| EUVDEUVD-2026-88197 HIGH
LDAP Injection (CWE-90)
2026-09-28 apache GHSA-932c-qw9f-cpcq
7.3
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Craft login name with LDAP metacharacters
  2. Delivery
    Submit via GSSAPI login or role-listing path
  3. Exploit
    Unescaped %u alters search filter structure
  4. Execution
    Filter matches unintended directory entry
  5. Impact
    Over-grant roles / resolve wrong account

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

Exploitation requires that the Karaf instance route the login name to LDAPCache/LDAPBackingEngine WITHOUT prior RFC 4515 escaping - specifically either (a) the GSSAPILdapLoginModule is configured (Kerberos/SPNEGO authentication), which passes the NameCallback name straight through unescaped, or (b) the LDAPBackingEngine.listRoles path is reached, which passes principal.getName() unescaped. It is NOT exploitable through the default LDAPLoginModule or LDAPPubkeyLoginModule flows, because both call Util.doRFC2254Encoding() on the login name first, masking the missing escaping. Actual impact (which entry matches, whether roles are over-granted, whether a login resolves to a different account) further depends on the administrator-configured userFilter/roleFilter templates. Affected versions are Apache Karaf before 4.4.12.

Impact

This is a genuine but moderate-priority issue, not an inflated high-CVSS score. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L = 7.3) reflects network reach with low complexity and no required privileges, but the low impact subscores (C:L/I:L/A:L) correctly capture that this is an LDAP filter injection (CWE-90) that widens/redirects directory lookups rather than yielding direct code execution or full data disclosure. Corroborating signals are consistent and unalarming: EPSS is 0.25% (14th percentile), there is no CISA KEV listing, and no public exploit code is referenced - so this is 'no public exploit identified at time of analysis.' A key nuance from the description tempers the PR:N/AC:L reading: the vulnerability is NOT reachable through the default LDAPLoginModule/LDAPPubkeyLoginModule paths because those apply Util.doRFC2254Encoding() escaping first; it only reproduces via GSSAPILdapLoginModule (Kerberos/SPNEGO) or via LDAPBackingEngine.listRoles, both of which require specific deployment configurations. So the raw CVSS overstates real-world reachability for typical Karaf deployments that use the standard LDAP login modules. Net: a real bug worth patching on the normal cycle, but not an emergency absent a GSSAPI-based LDAP setup.

Exploit ScenarioDerived

In a Karaf deployment configured with GSSAPILdapLoginModule, an attacker submits a login name containing RFC 4515 metacharacters (e.g. '*', '(', ')') that pass unescaped into the administrator-configured userFilter/roleFilter template. The injected characters turn an equality match into a wildcard or close/reopen a filter clause, causing the LDAP search to match an unintended directory entry and over-grant roles or resolve to a different account. No public proof-of-concept is referenced, and exploitability depends on the specific filter templates and login module in use.

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

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

Alert me

AnalysisAIv2 – Sep 30, 2026

LDAP filter injection in Apache Karaf before 4.4.12 allows a crafted login name to alter the structure of LDAP search filters built by LDAPCache and LDAPBackingEngine, potentially matching an unintended directory entry, over-granting roles, or changing which account a login resolves to. The unescaped value only reaches the filter through two call paths - the GSSAPILdapLoginModule (Kerberos/SPNEGO), which passes the NameCallback name through unescaped, and the LDAPBackingEngine.listRoles path, which passes principal.getName() unescaped - because the default LDAPLoginModule and LDAPPubkeyLoginModule both pre-escape the login name via Util.doRFC2254Encoding(). The issue is remote and unauthenticated per the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, score 7.3), but real-world impact is bounded by the administrator-configured userFilter/roleFilter templates; there is no confirmed active exploitation (not in CISA KEV), no public exploit code identified at time of analysis, and EPSS is low at 0.25% (14th percentile). A vendor patch is available in Apache Karaf 4.4.12.

Earlier versions of this analysis (1)
v1 Sep 28, 2026 - 10:06

LDAP search-filter injection in Apache Karaf lets a crafted login name alter the structure of the filter built for user and role lookups, potentially matching an unintended directory entry, over-granting roles, or changing which account a login resolves to. The flaw is reachable only on deployments using the GSSAPILdapLoginModule (Kerberos/GSSAPI), which passes the NameCallback name through unescaped, or any code path that invokes LDAPBackingEngine.listRoles(), which passes principal.getName() unescaped; the standard LDAPLoginModule and LDAPPubkeyLoginModule pre-escape the name with Util.doRFC2254Encoding() and are not affected. The assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) indicates unauthenticated network reachability with high attack complexity and limited confidentiality and integrity impact, and the practical outcome depends heavily on the administrator-configured userFilter and roleFilter templates. The issue is not confirmed actively exploited (no CISA KEV listing) and no public exploit identified at time of analysis.

RemediationAI

Upgrade to Apache Karaf 4.4.12 or later, which is the vendor-released fix for the missing RFC 4515 escaping in LDAPCache and LDAPBackingEngine (advisory: https://karaf.apache.org/security/cve-2026-90979.txt; also mirrored at https://seclists.org/oss-sec/2026/q3/961). Because the vulnerable paths are narrow, compensating controls are practical where immediate upgrade is not possible: disable GSSAPILdapLoginModule and fall back to LDAPLoginModule/LDAPPubkeyLoginModule, which perform Util.doRFC2254Encoding() on the login name and therefore mask the bug - the trade-off is loss of Kerberos/SPNEGO single sign-on for Karaf logins; alternatively, restrict network access to the GSSAPILdapLoginModule-authenticated endpoints so untrusted principals cannot reach the NameCallback path. For the LDAPBackingEngine.listRoles vector, avoid invoking role-lookup code paths with externally controlled principal names, and constrain which principals can trigger listRoles. Harden the LDAP bind account's privileges in the directory so that overly broad search filters return as little as possible, and validate/reject login names containing the RFC 4515 metacharacters *, (, ), and NUL at the ingress layer - this is a defense-in-depth measure only, since it does not fix DN or fqdn substitution and may break legitimate usernames. Note that the actual blast radius depends on the configured userFilter and roleFilter templates, so audit those templates for wildcard-style matching that would amplify a modified filter. No vendor patch version other than 4.4.12 should be assumed; do not treat absence of a backport for older branches as confirmation that none exists - verify against the Karaf advisory.

Affected VersionsENISA

Apache Karaf 0 <4.4.12

Affected Packages

euvd apache_karaf fix: 4.4.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-90 (LDAP Injection), specifically a failure to apply RFC 4515 escaping to values substituted into LDAP search filter templates. LDAPCache and LDAPBackingEngine construct filters by textually replacing the placeholders %u, %dn, and %fqdn (login name, resolved user DN, and its fully qualified namespace form) inside administrator-supplied userFilter and roleFilter templates. Prior to the fix, the only sanitization was a backslash-doubling step - filter.replace("\\", "\\\\") after Matcher.quoteReplacement(user) - which escapes the backslash character but leaves the other RFC 4515 metacharacters (*, (, ), and NUL) unescaped. Those characters allow a login name to restructure the resulting filter: an asterisk converts an equality match into a wildcard match, while parentheses let an attacker close and reopen filter clauses. The escaping gap was masked in the default authentication flow because LDAPLoginModule and LDAPPubkeyLoginModule call Util.doRFC2254Encoding() on the login name before handing it to LDAPCache, which is the correct RFC 4515 escaping. The two exposed entry points are GSSAPILdapLoginModule, which forwards the NameCallback name unescaped, and LDAPBackingEngine.listRoles, which forwards principal.getName() unescaped. The CPE identifier cpe:2.3:a:apache_software_foundation:apache_karaf:*:*:*:*:*:*:*:* with EUVD-listed affected range 'Apache Karaf 0 <4.4.12' confirms this is a core Karaf LDAP JAAS realm component, meaning exploitation requires an LDAP-backed authentication configuration rather than any Karaf deployment generically.

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 (apache) PRIMARY 7.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 7.3 HIGH

Network-reachable via unescaped login name with no prior auth on the GSSAPI path (PR:N, AC:L); impact limited to filter widening/role over-grant so C/I/A each Low.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

3
Analysis Updated
Sep 30, 2026 - 21:03 vuln.today
v2 - CVSS changed
CVSS changed
Sep 30, 2026 - 20:53 NVD
7.3 (HIGH)
Patch available
Sep 28, 2026 - 11:02 EUVD

DescriptionCVE.org

LDAPCache and LDAPBackingEngine build LDAP search filters for user lookup and role lookup by textually substituting the placeholders %u, %dn, and %fqdn (drawn from the login name, the resolved user DN, and its fully qualified namespace form) into administrator-configured filter templates (userFilter, roleFilter). Before the fix, the only sanitization applied to the substituted value was double backslashed:

filter = filter.replaceAll(Pattern.quote("%u"), Matcher.quoteReplacement(user));

filter = filter.replace("\\", "\\\\");

This does not escape the other characters RFC 4515 requires escaping in an LDAP search filter: *, (, ), and NUL. A login name containing any of these can change the structure of the resulting filter rather than being matched as a literal value (e.g. a crafted username can turn an equality match into a wildcard match, or close/reopen filter clauses), widening what the search returns and potentially causing a login or role lookup to match an LDAP entry other than the intended one, over-granting roles, and depending on deployment-specific filter templates, potentially affecting which account a login resolved to.

It's not exploitable through every entry points: LDAPLoginModule and LDAPPubkeyLoginModule both called Util.doRFC2254Encoding() (correct RFC 4515 escaping) on the login name before handing it to LDAPCache, which masked the missing escaping in LDAPCache for those two call paths. Using LDAPCache directly (bypassing the login modules) does not reproduce through the normal LDAPLoginModule/LDAPPubkeyLoginModule authentication flow for this reason. It does reproduce through two other call paths that reach LDAPCache/LDAPBackingEngine without any prior escaping:

  • GSSAPILdapLoginModule passes the NameCallback name straight through, unescaped.
  • LDAPBackingEngine (listRoles) passes principal.getName() straight through, unescaped.

Executive ViewAI

Why It Matters

Apache Karaf deployments that use LDAP for authentication and authorization face a high-severity flaw that could let an unauthenticated remote attacker manipulate login resolution and role assignment, potentially granting unauthorized access to applications or administrative functions. No public exploit identified at time of analysis, and a vendor-released patch is available. Leadership should prioritize remediation because successful exploitation could undermine access controls and lead to data or system compromise, particularly in environments using Kerberos/SPNEGO or custom LDAP role mapping.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
Widely used OSGi Java container/runtime, but niche versus mainstream web servers
Data Quality
5 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.2%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

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.

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-17392 CRITICAL
9.9 Nov 07

LDAP injection in IBM API Connect (10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2) lets a remote attacker who

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

Vendor StatusVendor

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