{"schemaVersion":4,"id":"CVE-2026-129349","aliases":["DEBIAN-CVE-2026-129349","UBUNTU-CVE-2026-129349"],"status":"published","duplicateOf":null,"title":"Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled","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.","dates":{"published":"2026-11-15T09:31:50.485Z","modified":"2026-11-17T15:13:11.856Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.1,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.1,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:C/RE:L/U:Red","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":9.1,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:C/RE:L/U:Red","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":9.1,"severity":"critical","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00584,"percentile":0.49361,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-15T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00584,"percentile":0.49361}],"last30":[{"date":"2026-11-15T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00584,"percentile":0.49361}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"apache software foundation","product":"apache shiro","name":"Apache Shiro","label":"apache shiro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.0.1","endInclusive":false}}],"versionsText":"< 3.0.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_shiro"},{"vendor":"debian","product":"shiro","name":"shiro","label":"shiro","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shiro","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shiro","name":"shiro","label":"shiro","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shiro","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-129349","label":"security-tracker.debian.org/tracker/CVE-2026-129349","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://lists.apache.org/thread.html/1whn52ht402lhc782c3s843c9hho8b4y","label":"lists.apache.org/thread.html/1whn52ht402lhc782c3s843c9hho8b4y","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/8","label":"www.openwall.com/lists/oss-security/2026/11/14/8","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-129349","label":"ubuntu.com/security/CVE-2026-129349","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129349","label":"www.cve.org/CVERecord?id=CVE-2026-129349","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/11/14/8","label":"www.openwall.com/lists/oss-security/2026/11/14/8","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://shiro.apache.org/security-reports.html#cve_2026_129349","label":"shiro.apache.org/security-reports.html","hostname":"shiro.apache.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-15T09:31:50.485Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-17T15:13:11.856Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 3.0.1 (CNA); fix release not confirmed","rank":[0,0,0,0,1,91],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00584,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-17T15:13:11.856Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"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","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-17T15:13:11.856Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:C/RE:L/U:Red","version":"4.0"},{"type":"cvss","source":"osv_debian","date":"2026-11-17T15:13:11.856Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:C/RE:L/U:Red","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-17T15:13:11.856Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"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"},{"type":"adp","source":"cisa-adp","date":"2026-11-17T15:12:58.874Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00584,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:46:30.451Z","stale":false,"partial":false}}