Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-49268: A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultL

53
This month
CRITICAL 9.1REMOTEWATCHLISTUPGRADE

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 score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.5% (top 57%)
CISA exploited listNo
WeaknessCWE-90
Published2026-06-17
Last modified2026-10-26
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache shiro UPGRADE
Affected: < 2.2.1 · 3.0.0 alpha1
Fixed in: 2.2.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy shiro || rpm -q shiro || shiro --version
2. UPGRADE to 2.2.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade shiro
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade shiro
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Maven · org.apache.shiro:shiro-core · FIXED · 2.2.1 · vulnerable: < 2.2.1 · source
Set org.apache.shiro:shiro-core to 2.2.1 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · rust-opendal-core · FIXED · 0.59.1-2.fc46 · FEDORA-2026-4607543819 · source
sudo dnf upgrade --advisory=FEDORA-2026-4607543819
Fedora ELN · velocitty · FIXED · 1.0.3-2.eln159 · FEDORA-2026-edae8cd295 · source
sudo dnf upgrade --advisory=FEDORA-2026-edae8cd295
Debian 12 · shiro · NO FIX YET
Debian 13 · shiro · NO FIX YET

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.