CVE-2026-49268: Apache Shiro · LDAP Injection
Affects Apache ShiroSource CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 30 Oct 2026, 20:25 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/S:P/AU:Y/R:A/RE:L/U:RedExploitation evidence
Disclosed: evidence found.
CVE published 17 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software FoundationApache Shiro | Affected
| Fixed in– |
MavenApache Software Foundation/org.apache.shiro:shiro-corepkg:maven/Apache Software Foundation/org.apache.shiro:shiro-coreOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Apache Shiro to version 2.2.1 or 3.0.0-alpha-2 or later, where this vulnerability has been fixed. Patch status is confirmed by the vendor advisory embedded in the description. No other mitigations are indicated.
Description
CVE-2026-49268 is a high-severity LDAP injection vulnerability in Apache Shiro's DefaultLdapRealm class. It allows remote attackers to inject LDAP special characters into the Distinguished Name (DN) construction by concatenating user-supplied usernames without proper escaping. This can lead to manipulation of the LDAP DN used for bind authentication, potentially enabling authentication bypass or user impersonation. The vulnerability affects all Apache Shiro versions through 2.2.0 and 3.0.0-alpha-1 when using DefaultLdapRealm. Upgrading to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later addresses the issue.