---
id: "CVE-2026-129347"
page: "https://infrastack.ai/live/CVE-2026-129347"
kind: "vulnerability"
aliases: ["CVE-2026-129347"]
title: "Apache Shiro: empty stored password can match an empty login password"
severity: "low"
cvss: 2.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["apache-shiro", "java", "package", "self-hosted"]
not_affected_if: ["no-empty-credentials", "rejects-empty-passwords"]
published_at: "2026-11-16T14:17:06+00:00"
first_seen_at: "2026-11-16T14:36:59+00:00"
updated_at: "2026-11-16T14:37:25+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129347", "first_seen_at": "2026-11-16T14:36:59+00:00"}]
exploit_sources: []
---

# Apache Shiro: empty stored password can match an empty login password

Link for people: https://infrastack.ai/live/CVE-2026-129347 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## 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.
- 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.
- Alternatively, avoid storing empty credentials and reject empty passwords in the application.

## Timeline

- 2026-11-16T14:36:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129347

## From the sources

`DefaultPasswordService` and `SimpleCredentialsMatcher` could treat an empty stored credential as a match for an empty submitted password.
This issue affects all Apache Shiro versions through 3.0.1, only when accounts with an empty stored credential exist.

Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue.
Alternatively, avoid storing empty credentials, and reject empty passwords in the application.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
