8.8
HIGH CVSS 4.0
CVE-2026-49268
Apache Shiro: LDAP DN Injection in DefaultLdapRealm
Description

A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class. User-supplied username input is directly concatenated into the LDAP DN template without any escaping of RFC 2253 special characters. This allows an attacker to manipulate the DN structure used for LDAP bind authentication, potentially bypassing authentication or impersonating other users. This issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm Upgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.

INFO

Published Date :

June 17, 2026, 1:07 p.m.

Last Modified :

June 17, 2026, 1:07 p.m.

Remotely Exploit :

Yes !

Source :

apache
Affected Products

The following products are affected by CVE-2026-49268 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache shiro
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH f0158376-9dc2-43b6-827c-5f631a4d8d09
Solution
Patch Apache Shiro to prevent LDAP special character injection in authentication.
  • Upgrade Apache Shiro to version 2.2.1 or later.
  • Use version 3.0.0-alpha-2 or later.
  • Ensure username input is properly escaped.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-49268 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.