# CVE-2026-49268: Apache Shiro: LDAP DN Injection in DefaultLdapRealm

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-17 · Modified: 2026-06-17
- Aliases: UBUNTU-CVE-2026-49268, DEBIAN-CVE-2026-49268, CGA-46xc-mmv5-qpp4, CGA-53m9-3684-7c8m, CGA-6jp3-357g-px9m, CGA-9757-45gf-c3pf, CGA-hhjf-wh4v-95v5, CGA-jp28-hm29-q7hq, CGA-39c8-m5p3-hh3h, CGA-3h9r-f3px-qhfr, CGA-3rfg-3w2w-4vfv, CGA-4jw3-63qv-63gh, CGA-55vq-x3p3-cmcp, CGA-5xv3-v35c-fxw6, CGA-6gp5-5c97-8f5v, CGA-6m5r-5xgv-74vr, CGA-72g3-5c7q-78wm, CGA-79mw-3wm3-gh3w, CGA-8g6w-qvhw-467f, CGA-9qpp-562g-57mf, CGA-c23v-56g4-4847, CGA-crvr-238v-f2pj, CGA-h7hf-r3fj-h2qx, CGA-mg88-4rh2-mw28, CGA-p4j5-5p9q-23wr, CGA-p6rw-76w2-23x8, CGA-phw4-pw4p-w2pq, GHSA-x96m-rh44-vgv8, CGA-pwp6-rx4r-qcj7, CGA-vfv2-v5f9-fj9r, CGA-w63x-f2xj-4p8f, CGA-x8vf-hmcf-w5qc, CGA-x9cp-8jfr-6wmp, CGA-xfwr-xgrg-xrrw, CGA-xvph-cv33-98qj
- Record: https://cvemate.com/vulnerability/CVE-2026-49268 · JSON: https://cvemate.com/vulnerability/CVE-2026-49268/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.512%, percentile 45.169%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- apache software foundation apache shiro: ≤ 2.2.0 \| ≥ 3.0.0-alpha-0, ≤ 3.0.0-alpha-1
- apache shiro: \< 2.2.1 \| 3.0.0:alpha1
- chainguard apache-activemq-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-6.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-6.2 (Chainguard): \< 6.2.7-r3
- chainguard apache-activemq-fips-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-6.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-6.2 (Chainguard): \< 6.2.6-r6
- chainguard apache-jena-fuseki (Chainguard): \< 6.1.0-r3
- chainguard neo4j-2025.11 (Chainguard): All versions (No fix recorded)
- chainguard neo4j-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard neo4j-2026.01 (Chainguard): All versions (No fix recorded)
- chainguard neo4j-2026.02 (Chainguard): All versions (No fix recorded)
- chainguard neo4j-2026.03 (Chainguard): All versions (No fix recorded)
- chainguard neo4j-2026.04 (Chainguard): All versions (No fix recorded)
- chainguard neo4j-2026.05 (Chainguard): \< 2026.05.0-r2
- chainguard neo4j-5.26 (Chainguard): \< 5.26.27-r2
- chainguard opensearch-2-identity-shiro (Chainguard): All versions (No fix recorded)
- wolfi neo4j-2025.12 (Wolfi): All versions (No fix recorded)
- wolfi neo4j-2026.01 (Wolfi): All versions (No fix recorded)

## References

- <https://lists.apache.org/thread/svszql3od8td7hn6conyj2oq70v53b5s>
- <http://www.openwall.com/lists/oss-security/2026/06/17/8>
- <https://ubuntu.com/security/CVE-2026-49268>
- <https://www.cve.org/CVERecord?id=CVE-2026-49268>
- <https://security-tracker.debian.org/tracker/CVE-2026-49268>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49268>
- <https://github.com/apache/shiro>

---

Data as of 2026-12-05T04:47:05.898Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
