ZeroDay Brief
CVE-2026-49268

A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class.

CVSS
9.1Critical
Chance of exploitation (EPSS)
0.51%
Published
Jun 17, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A critical security flaw in Apache Shiro that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Apache Shiro
Through 2.2.0; 3.0.0-alpha-0 to through 3.0.0-alpha-1

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.

CWE-90

Affected products

Get alerts for these →

Timeline 3

Latest change: Tenable Cloud Security plugin 490376: Chainguard: apache-activemq-6.2: security update to 6.2.7-r3apache-activemq-fips-6.2: security update to 6.2.6-r6apache-jena-fuseki: security update to 6.1.0-r3multiple neo4j-2026.05 packages: security update to 2026.05.0-r2neo4j-5.26: security update to 5.26.27-r2 (Dec 1, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 2

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”