{"id":"CVE-2026-129347","kind":"vulnerability","aliases":["CVE-2026-129347"],"related":[],"title":"Apache Shiro: empty stored password can match an empty login password","description":"`DefaultPasswordService` and `SimpleCredentialsMatcher` could treat an empty stored credential as a match for an empty submitted password.\nThis issue affects all Apache Shiro versions through 3.0.1, only when accounts with an empty stored credential exist.\n\nMitigation: Upgrade to version 3.0.2 or later, which fixes the issue.\nAlternatively, avoid storing empty credentials, and reject empty passwords in the application.","summary":"Apache Shiro's DefaultPasswordService and SimpleCredentialsMatcher can treat an empty stored credential as matching an empty submitted password. An attacker could log in to an account that has an empty stored password without knowing the real password.","severity":"low","cvss":2.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-shiro","java","package","self-hosted"],"not_affected_if":["no-empty-credentials","rejects-empty-passwords"],"how_to_check":"- Check the Shiro version in the project's build file (for example the `shiro-core` dependency version); affected if it is `3.0.1` or earlier.\n- Look for accounts with an empty stored password hash or credential in the user store.","fix":"- Apache Shiro: upgrade to `3.0.2` or later.\n- Alternatively, avoid storing empty credentials and reject empty passwords in the application.","status":"open","published_at":"2026-11-16T14:17:06+00:00","first_seen_at":"2026-11-16T14:36:59+00:00","triaged_at":"2026-11-16T14:37:25+00:00","updated_at":"2026-11-16T14:37:25+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T14:37:25Z","model":"claude-haiku-5-5","output":{"fix":"- Apache Shiro: upgrade to `3.0.2` or later.\n- Alternatively, avoid storing empty credentials and reject empty passwords in the application.","reach":"network","title":"Apache Shiro: empty stored password can match an empty login password","impact":"high","summary":"Apache Shiro's DefaultPasswordService and SimpleCredentialsMatcher can treat an empty stored credential as matching an empty submitted password. An attacker could log in to an account that has an empty stored password without knowing the real password.","audience":"businesses","category":"package","nicknames":[],"who_cares":["java","apache-shiro","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"attacker logs in to an account with an empty stored password","analyst_note":"","how_to_check":"- Check the Shiro version in the project's build file (for example the `shiro-core` dependency version); affected if it is `3.0.1` or earlier.\n- Look for accounts with an empty stored password hash or credential in the user store.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["no-empty-credentials","rejects-empty-passwords"],"who_is_affected":"Applications that use Apache Shiro for password login and have at least one account with an empty stored credential. Applications without such accounts, or that reject empty passwords in their own code, are not exposed to the empty-match case.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"low"},"cost_usd":0.000721,"input_tokens":4609,"output_tokens":521,"severity_before":"low"},"analyst_status":null,"analyst_note":null,"search":"'-129347':14A,17A '-2026':13A,16A '3.0.1':88C '3.0.2':102C 'account':51B,91C 'affect':82C 'altern':109C 'apach':1A,19B,26B,84C 'apache-shiro':18B 'applic':120C 'attack':45B 'avoid':110C 'could':46B,66C 'credenti':37B,71C,96C,113C 'cve':12A,15A 'defaultpasswordservic':29B,63C 'empti':3A,9A,35B,41B,55B,69C,77C,94C,112C,116C 'exist':97C 'fix':106C 'host':25B 'issu':81C,108C 'java':21B 'know':59B 'later':104C 'log':47B 'login':10A 'match':7A,39B,74C 'mitig':98C 'packag':22B 'password':5A,11A,43B,57B,62B,79C,117C 'real':61B 'reject':115C 'self':24B 'self-host':23B 'shiro':2A,20B,27B,85C 'simplecredentialsmatch':31B,65C 'store':4A,36B,56B,70C,95C,111C 'submit':42B,78C 'treat':33B,67C 'upgrad':99C 'version':86C,101C 'without':58B","nicknames":[],"mitigations":[],"who_affected":"Applications that use Apache Shiro for password login and have at least one account with an empty stored credential. Applications without such accounts, or that reject empty passwords in their own code, are not exposed to the empty-match case.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["apacheshiro","java","low","package","selfhosted"],"campaign_type":null,"search_a":"'-129347':14A,17A '-2026':13A,16A 'apach':1A 'cve':12A,15A 'empti':3A,9A 'login':10A 'match':7A 'password':5A,11A 'shiro':2A 'store':4A","search_b":"'account':51B 'apach':19B,26B 'apache-shiro':18B 'attack':45B 'could':46B 'credenti':37B 'defaultpasswordservic':29B 'empti':35B,41B,55B 'host':25B 'java':21B 'know':59B 'log':47B 'match':39B 'packag':22B 'password':43B,57B,62B 'real':61B 'self':24B 'self-host':23B 'shiro':20B,27B 'simplecredentialsmatch':31B 'store':36B,56B 'submit':42B 'treat':33B 'without':58B","search_c":"'3.0.1':88C '3.0.2':102C 'account':91C 'affect':82C 'altern':109C 'apach':84C 'applic':120C 'avoid':110C 'could':66C 'credenti':71C,96C,113C 'defaultpasswordservic':63C 'empti':69C,77C,94C,112C,116C 'exist':97C 'fix':106C 'issu':81C,108C 'later':104C 'match':74C 'mitig':98C 'password':79C,117C 'reject':115C 'shiro':85C 'simplecredentialsmatch':65C 'store':70C,95C,111C 'submit':78C 'treat':67C 'upgrad':99C 'version':86C,101C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T14:17:06+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/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:N/R:X/V:D/RE:L/U:Green","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129347","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129347","severity":null,"published_at":"2026-11-16T14:17:06+00:00","modified_at":"2026-11-16T14:17:06+00:00","first_seen_at":"2026-11-16T14:36:59+00:00","fetched_at":"2026-11-16T14:36:59+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}