CVE-2026-58301: Apache Shiro: Server-side POST request may be steered to an alternate host

Published Aug 30, 2026
·
Updated

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.

Affected Software

12 affected components
Apache Shiro>=2.x<3.0.0
Apache Shiro>=2.0.0<3.0.1
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
debian/shiro*
debian/shiro*
debian/shiro

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Shiro to a version that resolves this vulnerability.

    Fixed in 3.0.1
  2. Configuration

    Set the org.apache.shiro.form-resubmit-host system property to restrict the resubmission host and org.apache.shiro.form-resubmit-port system property to restrict the resubmission port.

    Apache Shiro org.apache.shiro.form-resubmit-host and org.apache.shiro.form-resubmit-port = Restrict the host and port

Event History

Aug 31, 2026
CVE Published
via MITRE·07:40 AM
Data Sourced
via MITRE·07:40 AM
DescriptionWeakness
Data Sourced
via OSV·07:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 AM
DescriptionSeverityWeakness
Sep 1, 2026
Data Sourced
via NVD·06:06 PM
Affected Software
Updated
via NVD·06:06 PM
Severity
Nov 12, 2026
Data Sourced
via OSV·05:24 PM
Affected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Frequently Asked Questions

1

Which deployments are affected?

Only Apache Shiro 2.x through 3.0.0 deployments that use the Jakarta EE integration module are affected. Deployments not using that integration module are not identified as affected.

2

What level of access does an attacker need?

A low-privileged user must be able to craft and submit an HTTP request to the application. Successful exploitation causes the server to connect to an attacker-controlled URL and send attacker-controlled data.

3

What can be done if upgrading is not immediately possible?

Set the org.apache.shiro.form-resubmit-host system property to a permitted host and org.apache.shiro.form-resubmit-port to a permitted port. These properties restrict the destination Shiro can contact when resubmitting a form.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203