CVE-2026-49268: A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultL
CVE-2026-49268 is a critical-severity flaw (CVSS 9.1) affecting shiro. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 Shi
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 57%) |
| CISA exploited list | No |
| Weakness | CWE-90 |
| Published | 2026-06-17 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: sassoftware/shiro (2 stars)
- GitHub PoC: xiaoqiMikko/shiro-check (0 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-49268?
shiro: upgrade to 2.2.1. Exact commands for each OS are on this page.
Is CVE-2026-49268 being exploited?
CVE-2026-49268 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-49268 affect?
CVE-2026-49268 affects shiro. Severity is critical (CVSS 9.1). 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 s
How urgent is CVE-2026-49268?
Priority 53/100. Critical severity; Remotely exploitable, no login, no user action; On your watchlist