LDAP Injection Affecting org.apache.karaf.jaas:org.apache.karaf.jaas.modules package, versions [,4.4.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about LDAP Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEKARAFJAAS-22283248
  • published8 Nov 2026
  • disclosed28 Sept 2026
  • creditGjoko Krstic

Introduced: 28 Sep 2026

CVE-2026-90979  (opens in a new tab)
CWE-90  (opens in a new tab)

How to fix?

Upgrade org.apache.karaf.jaas:org.apache.karaf.jaas.modules to version 4.4.12 or higher.

Overview

org.apache.karaf.jaas:org.apache.karaf.jaas.modules is a bundle that provides JAAS modules which can be used in Karaf (LDAP, JDBC, etc).

Affected versions of this package are vulnerable to LDAP Injection via the %u, %dn, and %fqdn substitutions in LDAPCache and LDAPBackingEngine. An attacker can widen user or role searches by supplying a username containing LDAP filter characters such as *, (, ), or NUL through GSSAPI LDAP authentication or a role lookup. The altered search can match an unintended LDAP entry, allowing login as a different account or causing roles to be over-granted.

Notes

  • User-search injection requires the unescaped GSSAPI path: GSSAPILdapLoginModule passes the NameCallback name directly to LDAPCache, while LDAPLoginModule and LDAPPubkeyLoginModule pre-escape the username and mask this flaw on their normal login paths.

CVSS Base Scores

version 4.0
version 3.1