{"answers":{"affected":"1 open source package ship an affected version, including org.apache.shiro:shiro-core.","exploited":"There is no known exploitation of CVE-2026-137686 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls ActiveDirectoryRealm. Many projects that include it are not exposed.","fix":"Upgrade org.apache.shiro:shiro-core to 3.0.2 or later.","what":"CVE-2026-137686 is a medium-severity authentication bypass vulnerability in Apache Shiro, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-137686 and fix it if it is affected.\n\nWhat it is: CVE-2026-137686 is a medium-severity authentication bypass vulnerability in Apache Shiro, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-137686 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls ActiveDirectoryRealm. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- org.apache.shiro:shiro-core (Maven): affected all versions; fixed in 3.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to ActiveDirectoryRealm and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137686/ (Markdown: https://insights.sbomify.com/CVE-2026-137686/index.md)","id":"CVE-2026-137686","markdown":"https://insights.sbomify.com/CVE-2026-137686/index.md","name":"CVE-2026-137686","record":{"aliases":["DEBIAN-CVE-2026-137686","GHSA-35x8-3qcq-6jjm"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java security framework","requires_auth":"none","requires_specific_call":true,"summary":"Unauthenticated attackers can log in with an empty principal via anonymous LDAP bind in Apache Shiro ActiveDirectoryRealm; apps using that realm should care.","user_interaction":"not_required","vuln_class":"auth_bypass","vulnerable_functions":["ActiveDirectoryRealm"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"apache","component":null,"cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Apache Shiro: Authentication bypass in ActiveDirectoryRealm via empty username (incomplete fix for CVE-2014-0074)","id":"CVE-2026-137686","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2026"},"main_cpe":null,"main_fixed":["3.0.2"],"main_package":"org.apache.shiro:shiro-core","n_packages":1,"n_references":1,"n_vendor_status":0,"next":{"headline":"WOW-CMS BlizzCMS Home Home.php setconfig improper authorization","id":"CVE-2026-137687"},"nickname":null,"packages":[{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"org.apache.shiro:shiro-core","purl":"pkg:maven/org.apache.shiro/shiro-core","purl_source":"cna","scope":"upstream","source":"CVE-2026-137686"}],"prev":{"headline":"WazirX App authorization","id":"CVE-2026-137685"},"products":["Apache Shiro"],"published":"2026-11-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-27","vendor_status":[],"vendors":["Apache Software Foundation"]},"summary":"Unauthenticated attackers can log in with an empty principal via anonymous LDAP bind in Apache Shiro ActiveDirectoryRealm; apps using that realm should care.","url":"https://insights.sbomify.com/CVE-2026-137686/"}