{
  "from_raw": "Lenny Primak <lprimak@apache.org>",
  "from": "Lenny Primak <lp...@apache.org>",
  "gravatar": "3412c78813a07ca863c82de7fc207fd7",
  "to": "an...@apache.org,\n de...@shiro.apache.org",
  "subject": "CVE-2026-49268: Apache Shiro: LDAP DN Injection in DefaultLdapRealm",
  "message-id": "<b527b061-b2ad-ee42-5ac3-e7770b5e5e46@apache.org>",
  "mid": "q7jw61tfy9lko0orgzwkzds2llc59dzk",
  "permalinks": [
    "q7jw61tfy9lko0orgzwkzds2llc59dzk",
    "rceacb0f6ce946cfb24e655dbe3c7d06411910724dc2a2f373c278979@<announce.apache.org>"
  ],
  "dbid": "6da7e1f2e90d0ce4e020873d9d452a04c777bee1c6f685cbfdf1f91de546ea32",
  "cc": "de...@shiro.apache.org",
  "epoch": 1781700682,
  "list": "<announce.apache.org>",
  "list_raw": "<announce.apache.org>",
  "date": "2026/06/17 12:51:22",
  "private": false,
  "references": "",
  "in-reply-to": "",
  "body": "Severity: \n\nAffected versions:\n\n- Apache Shiro (org.apache.shiro:shiro-core) through 2.2.0\n- Apache Shiro (org.apache.shiro:shiro-core) 3.0.0-alpha-0 through 3.0.0-alpha-1\n\nDescription:\n\nA 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.\n\nThis issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using\u00a0DefaultLdapRealm\nUpgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.\n\nCredit:\n\nzhaokaifei (reporter) - ChinaTelecom (finder)\nLenny Primak <le...@flowlogix.com> (remediation developer)\n\nReferences:\n\nhttps://shiro.apache.org/\nhttps://www.cve.org/CVERecord?id=CVE-2026-49268\n\n",
  "body_short": "Severity: \n\nAffected versions:\n\n- Apache Shiro (org.apache.shiro:shiro-core) through 2.2.0\n- Apache Shiro (org.apache.shiro:shiro-core) 3.0.0-alpha-0 through 3.0.0-alpha-1\n\nDescription:\n\nA remote attac",
  "html_source_only": false,
  "attachments": [],
  "forum": "announce@apache.org",
  "size": 2937,
  "id": "q7jw61tfy9lko0orgzwkzds2llc59dzk"
}