Skip to content

CVE-2026-129347 Apache Shiro: Empty stored credential matches an empty submitted password

LowCVSS 2.3 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

8 packages: 1 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/shiro(Debian 12) = 1.3.2-5; = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 13) = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 14) = 1.3.2-6; All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.10) All versions No fix listed No fix yet
org.apache.shiro/shiro-core(Maven) < 3.0.2 3.0.2 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.shiro/shiro-core(Maven) < 3.0.2 3.0.2
debian/shiro(Debian:12) All versions No fix listed
debian/shiro(Debian:14) All versions No fix listed
debian/shiro(Debian:13) All versions No fix listed
ubuntu/shiro(Ubuntu:22.04) All versions No fix listed
ubuntu/shiro(Ubuntu:24.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.10) All versions No fix listed
debian/shiro(Debian:12) = 1.3.2-5 No fix listed
debian/shiro(Debian:12) = 1.3.2-6 No fix listed
debian/shiro(Debian:13) = 1.3.2-6 No fix listed
debian/shiro(Debian:14) = 1.3.2-6 No fix listed

References