Skip to main content
VulnerabilityPublished Updated

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

Affects shiroSource GCVE Database

0
Compare
Authoritative record:CVE-2026-49268· High 8.8

Not known to be exploited · CVSS 8.8 High.

Data as of 12 Nov 2026, 19:54 UTC

CVSS 4.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10shiropkg:deb/ubuntu/shiro?arch=source&distro=stonkingOther threatsAffected
  • =1.3.2-6ubuntu2
Fixed in–
Ubuntu 26.04 LTSshiropkg:deb/ubuntu/shiro?arch=source&distro=resoluteOther threatsAffected
  • =1.3.2-6ubuntu1
  • =1.3.2-6ubuntu2
Fixed in–
Ubuntu 25.10shiropkg:deb/ubuntu/shiro?arch=source&distro=questingOther threatsAffected
  • =1.3.2-6ubuntu1
Fixed in–
Ubuntu Pro 24.04 LTSshiropkg:deb/ubuntu/shiro?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =1.3.2-5
  • =1.3.2-5ubuntu0.24.04.1~esm1
Fixed in–
Ubuntu 22.04 LTSshiropkg:deb/ubuntu/shiro?arch=source&distro=jammyOther threatsAffected
  • =1.3.2-4
  • =1.3.2-5
Fixed in–
Ubuntu 20.04 LTSshiropkg:deb/ubuntu/shiro?arch=source&distro=focalOther threatsAffected
  • =1.3.2-4
  • =1.3.2-4ubuntu0.1
  • =1.3.2-4ubuntu0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Apache Shiro to version 2.2.1 or 3.0.0-alpha-2 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.

Description

A vulnerability in Apache Shiro's DefaultLdapRealm class allows remote attackers to inject LDAP special characters into the Distinguished Name (DN) construction. This occurs because user-supplied username input is concatenated into the LDAP DN template without escaping special characters as defined by RFC 2253. Exploitation can lead to bypassing authentication or impersonating other users. The issue affects all Apache Shiro versions through 2.2.0 and 3.0.0-alpha-1. Upgrading to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later resolves the vulnerability.

References

Community reviews

Loading reviews…