Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 60%

CVE-2026-49268: CWE-90 Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') in Apache Software Foundation Apache Shiro

0
High
VulnerabilityCVE-2026-49268cvecve-2026-49268cwe-90
Published: 06/17/2026 (06/17/2026, 13:07:44 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Shiro

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.

CVSS v4.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
P
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:Red

Affected software

Apache Software Foundation/org.apache.shiro:shiro-core
pkg:maven/Apache Software Foundation/org.apache.shiro:shiro-core
Affected versions
<=2.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 16:14:24 UTC

Technical Analysis

This vulnerability arises from improper neutralization of special LDAP characters (CWE-90) in the DefaultLdapRealm class of Apache Shiro. User input for usernames is directly concatenated into the LDAP Distinguished Name (DN) template without escaping RFC 2253 special characters. This flaw enables remote attackers to manipulate the DN structure used during LDAP bind authentication, which can result in bypassing authentication controls or impersonating other users. The issue affects all versions up to 2.2.0 and 3.0.0-alpha-1. The vendor has fixed the vulnerability in versions 2.2.1 and 3.0.0-alpha-2 and later.

Potential Impact

An attacker can exploit this vulnerability to inject LDAP special characters into the DN used for authentication, potentially bypassing authentication mechanisms or impersonating other users. This compromises the integrity of the authentication process and can lead to unauthorized access.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-05-28T17:20:37.590Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a32a8a20b89be6888635f0a

Added to database: 06/17/2026, 14:01:06 UTC

Last enriched: 06/24/2026, 16:14:24 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 124

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses