Apache Shiro vulnerabilities

25 vulnerabilities

Known vulnerabilities in Apache Shiro, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-58301apache software foundation · apache shiro +3 moreApache Shiro: Server-side POST request may be steered to an alternate hostWhen Apache Shiro is used with the Jakarta EE integration module, a low-privileged user can craft an HTTP request that causes the server to initiate a connection to an attacker-controlled URL and transmit attacker-controlled data. This vulnerability affects Apache Shiro versions 2.x through 3.0.0 only in deployments that use the Jakarta EE integration module. Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue. + Alternatively, you can set the `org.apache.shiro.form-resubmit-host` (String) and `org.apache.shiro.form-resubmit-port` (Integer) system properties to restrict the host and port that Shiro will connect to when resubmitting a form.CVSS6.5MediumEPSS0.30%PrioritiseCVE-2026-49268apache software foundation · apache shiro +23 moreApache Shiro: LDAP DN Injection in DefaultLdapRealmA remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class. User-supplied username input is directly concatenated into the LDAP DN template without any escaping of RFC 2253 special characters. This allows an attacker to manipulate the DN structure used for LDAP bind authentication, potentially bypassing authentication or impersonating other users. This issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm Upgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.CVSS9.1CriticalEPSS0.51%RoutineCVE-2026-48589apache software foundation · apache shiro +3 moreApache Shiro: Jakarta EE open redirect via untrusted Referer in post-login redirect flowApache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login. In affected versions, insufficient validation of this client-controlled value could allow an attacker to influence the redirect target in applications using the Jakarta EE module. This issue affects Apache Shiro from 2.0-alpha to 2.2.0, and 3.0.0-alpha-1, only when using shiro-jakarta-ee integration module.CVSS5.4MediumEPSS0.35%RoutineCVE-2026-44598apache software foundation · apache shiro jakarta ee module +3 moreApache Shiro Jakarta EE module: Open redirect and SSRF (requires valid credentials)With valid login credentials, URL Redirection to Untrusted Site ('Open Redirect'), Server-Side Request Forgery (SSRF) vulnerability in Apache Shiro. This issue affects Apache Shiro from 2.0-alpha to 2.1.0, and 3.0.0-alpha-1, only when using shiro-jakarta-ee integration module. Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue by encrypting the cookie. After successful login, Jakarta EE integration module uses shiroSavedRequest cookie to redirect to a particular web page after login. This cookie was not validated, and can be forged to send a HTTP GET request from the server itself to an arbitrary URL from the cookie.CVSS5.4MediumEPSS0.37%RoutineCVE-2026-43828apache software foundation · apache shiro +4 moreApache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by defaultDefault configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute. This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1. Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue. In the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.CVSS6.5MediumEPSS0.26%RoutineCVE-2026-43827apache software foundation · apache shiro +17 moreApache Shiro: Session fixation: new session is not created after login by defaultDefault configurations of Apache Shiro have a session fixation vulnerability. This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1. Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue. In the affected versions, when a session already exists, it is not invalidated upon successful login, nor is a new session being generated with a new ID.CVSS6.5MediumEPSS0.41%RoutineCVE-2026-23901apache software foundation · apache shiro +23 moreApache Shiro: Brute force attack possible to determine valid user namesObservable Timing Discrepancy vulnerability in Apache Shiro. This issue affects Apache Shiro: from 1.*, 2.* before 2.0.7. Users are recommended to upgrade to version 2.0.7 or later, which fixes the issue. Prior to Shiro 2.0.7, code paths for non-existent vs. existing users are different enough, that a brute-force attack may be able to tell, by timing the requests only, determine if the request failed because of a non-existent user vs. wrong password. The most likely attack vector is a local attack only. Shiro security model  https://shiro.apache.org/security-model.html#username_enumeration  discusses this as well. Typically, brute force attack can be mitigated at the infrastructure level.CVSS2.5LowEPSS0.23%RoutineCVE-2026-23903apache software foundation · apache shiro +8 moreApache Shiro: Auth bypass when accessing static files only on case-insensitive filesystemsAuthentication Bypass by Alternate Name vulnerability in Apache Shiro. This issue affects Apache Shiro: before 2.0.7. Users are recommended to upgrade to version 2.0.7, which fixes the issue. The issue only effects static files. If static files are served from a case-insensitive filesystem, such as default macOS setup, static files may be accessed by varying the case of the filename in the request. If only lower-case (common default) filters are present in Shiro, they may be bypassed this way. Shiro 2.1.0 and later has a new parameters to remediate this issue shiro.ini: filterChainResolver.caseInsensitive = true application.properties: shiro.caseInsensitive=true Shiro 3.0.0 and later makes this the default in shiro.ini-based configurations. Shiro 3.0.1 and later makes this the default in all configurations, including programmatic and Spring / Spring Boot.CVSS5.3MediumEPSS0.49%RoutineCVE-2023-46749apache software foundation · apache shiro +4 moreApache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewritingApache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure `blockSemicolon` is enabled (this is the default).CVSS6.5MediumEPSS1.18%RoutineCVE-2023-46750apache software foundation · apache shiro +4 moreApache Shiro: URL Redirection to Untrusted Site ('Open Redirect') vulnerability in FORM authentication feature Apache Shiro.URL Redirection to Untrusted Site ('Open Redirect') vulnerability when "form" authentication is used in Apache Shiro. Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+.CVSS6.1MediumEPSS1.99%PrioritiseCVE-2023-34478apache software foundation · apache shiro +4 moreApache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+CVSS9.8CriticalEPSS2.07%PrioritiseCVE-2023-22602apache · shiro +3 moreApache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP requestWhen using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`CVSS7.5HighEPSS1.66%PrioritiseCVE-2022-40664apache software foundation · apache shiro +4 moreAuthentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcherApache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.CVSS9.8CriticalEPSS3.62%PrioritiseCVE-2022-32532apache software foundation · apache shiro +4 moreAuthentication Bypass VulnerabilityApache Shiro before 1.9.1, A RegexRequestMatcher can be misconfigured to be bypassed on some servlet containers. Applications using RegExPatternMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.CVSS9.8CriticalEPSS25.98%PrioritiseCVE-2021-41303apache software foundation · apache shiro +4 moreApache Shiro before 1.8.0, when using Apache Shiro with Spring Boot, a specially crafted HTTP request may cause an authentication bypassUsers should update to Apache Shiro 1.8.0.CVSS9.8CriticalEPSS77.27%PrioritiseCVE-2020-17523apache · shiro +3 moreapache shiroApache Shiro before 1.7.1, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.CVSS9.8CriticalEPSS85.91%PrioritiseCVE-2020-17510apache · shiro +4 moreapache shiroApache Shiro before 1.7.0, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.CVSS9.8CriticalEPSS8.03%PrioritiseCVE-2020-13933apache · shiro +4 moreapache shiroApache Shiro before 1.6.0, when using Apache Shiro, a specially crafted HTTP request may cause an authentication bypass.CVSS7.5HighEPSS44.41%PrioritiseCVE-2020-11989apache software foundation · apache shiro +4 moreapache software foundation apache shiroApache Shiro before 1.5.3, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.CVSS9.8CriticalEPSS24.44%PrioritiseCVE-2020-1957apache · shiro +4 moreapache shiroApache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.CVSS9.8CriticalEPSS23.92%