2026-08-31 7:40CVE-2026-58301apache
PUBLISHED5.2CWE-918

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

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.

Problem type

Affected products

Apache Software Foundation

Apache Shiro

<= 3.0.0 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-58301
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-58301",
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "assignerShortName": "apache",
    "dateUpdated": "2026-08-31T07:40:37.337Z",
    "dateReserved": "2026-06-30T00:48:57.590Z",
    "datePublished": "2026-08-31T07:40:37.337Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "shortName": "apache",
        "dateUpdated": "2026-08-31T07:40:37.337Z"
      },
      "title": "Apache Shiro: Server-side POST request may be steered to an alternate host",
      "descriptions": [
        {
          "lang": "en",
          "value": "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.\n\nMitigation: Upgrade to version 3.0.1 or later, which fixes the issue. +\nAlternatively, 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.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "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.<br><br>Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue. +<br>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": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache Shiro",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "org.apache.shiro:shiro-jakata-ee",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2.0.0-alpha-0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.0.0"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-918 Server-Side Request Forgery (SSRF)",
              "cweId": "CWE-918",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://lists.apache.org/thread/g1g84ovof5fnonvc5o89wym2jzt77fww",
          "tags": [
            "vendor-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "Lenny Primak <lenny@flowlogix.com>",
          "type": "remediation developer"
        },
        {
          "lang": "en",
          "value": "Andrea Cosentino",
          "type": "remediation reviewer"
        }
      ]
    }
  }
}