CVE-2026-58301 PUBLISHED

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

Assigner: apache
Reserved: 30.06.2026 Published: 31.08.2026 Updated: 31.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/S:P/AU:Y/R:U/V:D/RE:L/U:Amber
CVSS Score: 5.9

Product Status

Vendor Apache Software Foundation
Product Apache Shiro
Versions Default: unaffected
  • affected from 2.0.0-alpha-0 to 3.0.0 (incl.)

Credits

  • liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/ finder
  • ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/ finder
  • cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/ finder
  • chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/ finder
  • cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/ finder
  • Lenny Primak <lenny@flowlogix.com> remediation developer
  • Andrea Cosentino remediation reviewer

References

Problem Types

  • CWE-918 Server-Side Request Forgery (SSRF) CWE