{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137686","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2026-11-26T21:07:38.358Z","datePublished":"2026-11-27T09:06:07.516Z","dateUpdated":"2026-11-27T09:06:07.516Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-11-27T09:06:07.516Z"},"title":"Apache Shiro: Authentication bypass in ActiveDirectoryRealm via empty username (incomplete fix for CVE-2014-0074)","problemTypes":[{"descriptions":[{"description":"CWE-287 Improper Authentication","lang":"en","cweId":"CWE-287","type":"CWE"}]}],"source":{"discovery":"EXTERNAL"},"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","collectionURL":"https://repo.maven.apache.org/maven2","packageName":"org.apache.shiro:shiro-core","packageURL":"pkg:maven/org.apache.shiro/shiro-core","versions":[{"status":"affected","version":"0","lessThan":"3.0.2","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"The fix for  CVE-2014-0074 https://shiro.apache.org/security-reports.html#cve_2014_0074  was incomplete for ActiveDirectoryRealm, which still accepted an empty username and password as an anonymous LDAP bind. This allowed an unauthenticated user to log in with an empty principal.\nThis issue affects all Apache Shiro versions through 3.0.1, only when ActiveDirectoryRealm is used without principalSuffix and the directory server allows anonymous binds.\n\nMitigation: Upgrade to version 3.0.2 or later, which fixes the issue.\nAlternatively, set principalSuffix on the realm, or disable anonymous binds on the directory server.","lang":"en","supportingMedia":[{"type":"text/html","base64":false,"value":"The fix for <a target=\"_blank\" rel=\"nofollow\" href=\"https://shiro.apache.org/security-reports.html#cve_2014_0074\">CVE-2014-0074</a> was incomplete for <code>ActiveDirectoryRealm</code>, which still accepted an empty username and password as an anonymous LDAP bind. This allowed an unauthenticated user to log in with an empty principal.<br>This issue affects all Apache Shiro versions through 3.0.1, only when <code>ActiveDirectoryRealm</code> is used without <code>principalSuffix</code> and the directory server allows anonymous binds.<br><br>Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue.<br>Alternatively, set <code>principalSuffix</code> on the realm, or disable anonymous binds on the directory server."}]}],"references":[{"url":"https://lists.apache.org/thread/b3vl39boc1yq9gm3cpt8pdwjhtz62770","tags":["vendor-advisory"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}}],"credits":[{"lang":"en","value":"Sungho Park (@gigio1023)","type":"finder"},{"lang":"en","value":"Lenny Primak <lenny@flowlogix.com>","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}}}}