CVE-2026-58301

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

Published Aug 31, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability in Apache Shiro arises from the Jakarta EE integration module that allows a low‑privileged user to send a specially crafted POST request. The server then resolves a redirect URI and initiates an outbound connection to an attacker‑controlled host, sending data supplied by the attacker. This server‑side request forgery, classified as CWE‑918, enables the attacker to potentially retrieve internal resources, exfiltrate data, or trigger malicious actions on upstream services without authentication.

Affected Systems

The affected product is Apache Shiro, versions 2.x up through 3.0.0, when used with the Jakarta EE integration module. All installations that rely on this module and have not applied the 3.0.1 update are vulnerable.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. The vulnerability is not currently listed on the CISA KEV catalog. Exploitation requires only a low‑privileged user to send a POST request to the application. The attacker can steer the server to any host, potentially accessing internal network services or communicating with external malicious endpoints, without needing elevated permissions or additional authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Shiro to version 3.0.1 or later to apply the vendor’s fix.
  • If an upgrade is not feasible, configure the system properties org.apache.shiro.form-resubmit-host and org.apache.shiro.form-resubmit-port to restrict the host and port to trusted values.
  • If the Jakarta EE integration module is not required in your deployment, disable or remove it so the vulnerable code path is no longer exercised.

Generated by OpenCVE AI on August 31, 2026 at 08:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache shiro
Vendors & Products Apache
Apache shiro
Type Values Removed Values Added
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.
Title Apache Shiro: Server-side POST request may be steered to an alternate host
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 5.9, '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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 31, 2026, 3:29 PM
Reserved
Jun 30, 2026, 12:48 AM
Status
Analyzed
Published
Aug 31, 2026, 8:17 AM
Modified
Sep 1, 2026, 6:06 PM