{"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-129349 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls DefaultLdapRealm or AllowAllCredentialsMatcher. Many projects that include it are not exposed.","fix":"Upgrade org.apache.shiro:shiro-core to 3.0.1 or later.","what":"CVE-2026-129349 is a critical authentication bypass vulnerability in Apache Shiro, published on 15 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-129349 and fix it if it is affected.\n\nWhat it is: CVE-2026-129349 is a critical authentication bypass vulnerability in Apache Shiro, published on 15 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-129349 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls DefaultLdapRealm or AllowAllCredentialsMatcher. 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.1\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 DefaultLdapRealm or AllowAllCredentialsMatcher 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-129349/ (Markdown: https://insights.sbomify.com/CVE-2026-129349/index.md)","id":"CVE-2026-129349","markdown":"https://insights.sbomify.com/CVE-2026-129349/index.md","name":"CVE-2026-129349","record":{"aliases":["DEBIAN-CVE-2026-129349","GHSA-3j37-vw7v-fxxw","UBUNTU-CVE-2026-129349"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Java security framework","requires_auth":"none","requires_specific_call":true,"summary":"Attackers knowing a username can log in as that user with any password when LDAP caching is enabled in Apache Shiro.","user_interaction":"not_required","vuln_class":"auth_bypass","vulnerable_functions":["DefaultLdapRealm","AllowAllCredentialsMatcher"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"apache","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red","version":"4.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"When authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password.\nA cached authentication skips the LDAP bind, and the AllowAllCredentialsMatcher installed by default in DefaultLdapRealm accepts any credentials, allowing an attacker who knows a valid username to authenticate as that user.\nThis issue affects all Apache Shiro versions through 3.0.0, only when using DefaultLdapRealm (or JndiLdapRealm) with authenticationCachingEnabled set to true, which is not the default.\n\nMitigation: Upgrade to version 3.0.1 or later, which fixes the issue by no longer installing AllowAllCredentialsMatcher by default.\nAlternatively, disable authentication caching on the LDAP realm (this is the default), or configure a credentials matcher, such as SimpleCredentialsMatcher, that verifies credentials against the cached authentication info.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-11-15","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-15T17:14:29Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-129349","stars":4,"title":"Apache Shiro \u003c=3.0.0 DefaultLdapRealm + authenticationCachingEnabled: one valid login, then ANY password (incl. empty) authenticates — cached auth skips the LDAP bind and AllowAllCredentialsMatcher accepts everything. Real realm + real in-memory LDAP; only diff is shiro 3.0.0 vs fixed 3.0.1."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled","id":"CVE-2026-129349","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":1,"n_references":1,"n_vendor_status":0,"next":{"headline":"TRENDnet TEW-657BRM mini_httpd setup.cgi sprintf out-of-bounds write","id":"CVE-2026-129351"},"nickname":null,"packages":[{"ecosystem":"Maven","fixed":["3.0.1"],"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-129349"}],"prev":{"headline":"Apache Shiro: PropertiesRealm reload does not remove deleted users or narrowed permissions","id":"CVE-2026-129348"},"products":["Apache Shiro"],"published":"2026-11-15","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-11-17","vendor_status":[],"vendors":["Apache Software Foundation"]},"summary":"Attackers knowing a username can log in as that user with any password when LDAP caching is enabled in Apache Shiro.","url":"https://insights.sbomify.com/CVE-2026-129349/"}