CVE-2026-58301 Apache Shiro: Server-side POST request may be steered to an alternate host
A low-privileged user can force the server to connect to an attacker-controlled URL via the Jakarta EE integration module, enabling data exfiltration or modification.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-58301?
CVE-2026-58301 is a medium-severity server-side request forgery vulnerability in Apache Shiro, published on 31 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
When 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.
Weakness: CWE-918
Which versions are affected by CVE-2026-58301?
It affects 1 product.
Products include Apache Shiro.
How do I fix CVE-2026-58301?
Upgrade to a fixed version.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-58301 being exploited?
There is no known exploitation of CVE-2026-58301 in the wild and no public exploit code.
Other vulnerabilities in Apache Shiro
- CVE-2023-34478 Path Traversal in Apache Shiro
- CVE-2022-40664 Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
- CVE-2022-32532 Authentication Bypass Vulnerability
- CVE-2021-41303 Apache Shiro vulnerable to a specially crafted HTTP request causing an authentication bypass
- CVE-2020-17523 Authentication bypass in Apache Shiro
Sources
Also known as CLEANSTART-2026-SB52604, DEBIAN-CVE-2026-58301, GHSA-r2fv-9rvj-c54c, UBUNTU-CVE-2026-58301.