CVE-2026-49268: apache software foundation apache shiro LDAP Injection
Vulnerability summary
CVE-2026-49268 is a critical (CVSS 9.1) LDAP Injection vulnerability in apache software foundation apache shiro. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 17-06-2026PublishedVulnerability first disclosed.
- 17-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS: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:Red
- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS: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:Red
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS: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:Red
- OSV · MavenEcosystem advisory · calculated8.8HighCVSS: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:Red
- NVDNIST8.8HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:Y/R:A/V:X/RE:L/U:Red
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.26 pp
From 0.49% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard16 products
- apache-activemq-5.19All versions (No fix recorded)
- apache-activemq-6.1All versions (No fix recorded)
- apache-activemq-6.2< 6.2.7-r3
- apache-activemq-fips-5.19All versions (No fix recorded)
- apache-activemq-fips-6.1All versions (No fix recorded)
Wolfi3 products
- neo4j-2025.12All versions (No fix recorded)
- neo4j-2026.01All versions (No fix recorded)
- neo4j-2026.05< 2026.05.0-r2
Apache1 product
- shiro< 2.2.1 | 3.0.0:alpha1
Apache software foundation1 product
- apache shiro≤ 2.2.0 | ≥ 3.0.0-alpha-0, ≤ 3.0.0-alpha-1
Debian1 product
- shiroAll versions (No fix recorded)
Org.apache.shiro1 product
- shiro-core< 2.2.1 | ≥ 3.0.0-alpha-0, < 3.0.0-alpha-2
Ubuntu1 product
- shiroAll versions (No fix recorded)
7 vendors · 24 products
References
7 links- github.com/apache/shiroPACKAGE