CVE-2026-49268
CVE-2026-49268 is a critical-severity vulnerability in Apache Shiro with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-90.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- CVSS v4: 8.8
- EPSS exploit prediction: 0% (39th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-37701
- Weakness: CWE-90
- Affected product: Apache Shiro
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-49268?
- 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.
- How severe is CVE-2026-49268?
- CVE-2026-49268 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-49268 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-49268?
- CVE-2026-49268 primarily affects Apache Shiro. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-49268?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-49268 have an EU (EUVD) identifier?
- Yes. CVE-2026-49268 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-37701.
- When was CVE-2026-49268 published?
- CVE-2026-49268 was published on 2026-06-17 and last updated on 2026-06-18.
References
- https://lists.apache.org/thread/svszql3od8td7hn6conyj2oq70v53b5s
- http://www.openwall.com/lists/oss-security/2026/06/17/8
Affected products (2)
- cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:shiro:3.0.0:alpha1:*:*:*:*:*:*
More vulnerabilities in Apache Shiro
- CVE-2023-34478 — Critical (CVSS 9.8): Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an…
- CVE-2022-40664 — Critical (CVSS 9.8): Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via…
- CVE-2022-32532 — Critical (CVSS 9.8): Apache Shiro before 1.9.1, A RegexRequestMatcher can be misconfigured to be bypassed on some servlet containers.…
- CVE-2021-41303 — Critical (CVSS 9.8): Apache Shiro before 1.8.0, when using Apache Shiro with Spring Boot, a specially crafted HTTP request may cause an…
- CVE-2020-17523 — Critical (CVSS 9.8): Apache Shiro before 1.7.1, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an…
- CVE-2020-17510 — Critical (CVSS 9.8): Apache Shiro before 1.7.0, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an…
All CVEs affecting Apache Shiro →
Other CWE-90 (LDAP Injection) vulnerabilities
- CVE-2026-44930 — Critical (CVSS 9.8): An LDAP injection vulnerability in the LDAP Certificate repository of the XKMS server in Apache CXF may allow an…
- CVE-2026-25560 — Critical (CVSS 9.8): WeKan versions prior to 8.19 contain an LDAP filter injection vulnerability in LDAP authentication. User-supplied…
- CVE-2024-54852 — Critical (CVSS 9.8): When LDAP connection is activated in Teedy versions between 1.9 to 1.12, the username field of the login form is…
- CVE-2024-33868 — Critical (CVSS 9.8): An issue was discovered in linqi before 1.4.0.1 on Windows. There is LDAP injection.
- CVE-2011-4069 — Critical (CVSS 9.8): html/admin/login.php in PacketFence before 3.0.2 allows remote attackers to conduct LDAP injection attacks and…
- CVE-2017-14596 — Critical (CVSS 9.8): In Joomla! before 3.8.0, inadequate escaping in the LDAP authentication plugin can result in a disclosure of a username…