{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-49268: Apache Shiro: LDAP DN Injection in DefaultLdapRealm","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-49268","status":"final","version":"1","initial_release_date":"2026-06-17T13:07:44.488Z","current_release_date":"2026-06-17T15:02:36.618Z","revision_history":[{"date":"2026-06-17T13:07:44.488Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"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.\n\nThis issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm\nUpgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-49268 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-49268"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-49268"},{"category":"external","summary":"lists.apache.org","url":"https://lists.apache.org/thread/svszql3od8td7hn6conyj2oq70v53b5s"}]},"product_tree":{"branches":[{"category":"vendor","name":"Apache Software Foundation","branches":[{"category":"product_name","name":"Apache Shiro","branches":[{"category":"product_version_range","name":"<=2.2.0","product":{"name":"Apache Software Foundation Apache Shiro <=2.2.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:apache_software_foundation:apache_shiro:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=3.0.0-alpha-0 <=3.0.0-alpha-1","product":{"name":"Apache Software Foundation Apache Shiro >=3.0.0-alpha-0 <=3.0.0-alpha-1","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:apache_software_foundation:apache_shiro:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-49268","title":"Apache Shiro: LDAP DN Injection in DefaultLdapRealm","notes":[{"category":"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.\n\nThis issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm\nUpgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":8.8,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1","CSAFPID-2"]}]}]}