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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v4.0, CNA) `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 metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: Low; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; S: P; AU: Y; R: U; V: D; RE: L; U: Amber
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-918
- **Published:** 2026-08-31T07:40:37.337Z
- **Modified:** 2026-09-01T18:06:44.900Z

## Who should check

- Anyone running Apache Software Foundation Apache Shiro \>= 2.0.0-alpha-0, \<= 3.0.0

## 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.

## Affected and fixed versions

- Apache Software Foundation Apache Shiro: \>= 2.0.0-alpha-0, \<= 3.0.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-58301. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-58301.md
Affected: Apache Software Foundation Apache Shiro >= 2.0.0-alpha-0, <= 3.0.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache Shiro: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-58301 being exploited?

There is no confirmed exploitation: CVE-2026-58301 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-58301?

Medium: CVSS 5.9 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-58301?

Apache Software Foundation Apache Shiro \>= 2.0.0-alpha-0, \<= 3.0.0.

### Is there a fix for CVE-2026-58301?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-58301?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/g1g84ovof5fnonvc5o89wym2jzt77fww>
- other: <http://www.openwall.com/lists/oss-security/2026/08/30/2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-58301>

HTML: <https://flawdb.com/CVE-2026-58301> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-58301>
