{"id":"CVE-2026-88019","state":"PUBLISHED","title":"Apache Shiro: Saved form replay may weaken cookie security and expose form data","description":"When Apache Shiro is used with the Jakarta EE integration module, the automatic form saving feature weakens the security of a form that is resubmitted after login.\nCookies set by the application during the resubmission could lose their security attributes, such as `Secure` and `SameSite`.\nIn addition, the resubmitted form data and cookies could be sent to an untrusted host.\nThis issue affects Apache Shiro from 2.0.0-alpha through 3.0.1, only when using `shiro-jakarta-ee` integration module with form saving enabled (the default).\n\nMitigation: Upgrade to version 3.0.2 or later, which no longer replays the form over the network, and avoids this class of issues entirely.\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.","publishedAt":"2026-11-16T13:25:06.046Z","updatedAt":"2026-11-16T20:38:29.272Z","severity":{"score":6,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/S:N/AU:N/R:U/V:D/RE:L/U:Amber","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache Shiro"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-jakarta-ee","packageURL":"pkg:maven/org.apache.shiro/shiro-jakarta-ee","defaultStatus":"unaffected","versions":[{"version":"2.0.0-alpha-0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://lists.apache.org/thread/fvlsfo9zoz5rqqn15pz4b72nkjbjmfw7","http://www.openwall.com/lists/oss-security/2026/11/14/3"],"weaknesses":["CWE-918","CWE-614","CWE-1004"],"ingestedAt":"2026-11-16T20:46:05.978Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/88xxx/CVE-2026-88019.json","commit":"e84dc3ce050769e21f65d96de02e0276e835e71f","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-88019","state":"PUBLISHED","datePublished":"2026-11-16T13:25:06.046Z","dateUpdated":"2026-11-16T20:38:29.272Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-09-09T19:27:23.676Z"},"containers":{"cna":{"title":"Apache Shiro: Saved form replay may weaken cookie security and expose form data","descriptions":[{"lang":"en","value":"When Apache Shiro is used with the Jakarta EE integration module, the automatic form saving feature weakens the security of a form that is resubmitted after login.\nCookies set by the application during the resubmission could lose their security attributes, such as `Secure` and `SameSite`.\nIn addition, the resubmitted form data and cookies could be sent to an untrusted host.\nThis issue affects Apache Shiro from 2.0.0-alpha through 3.0.1, only when using `shiro-jakarta-ee` integration module with form saving enabled (the default).\n\nMitigation: Upgrade to version 3.0.2 or later, which no longer replays the form over the network, and avoids this class of issues entirely.\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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-jakarta-ee","packageURL":"pkg:maven/org.apache.shiro/shiro-jakarta-ee","defaultStatus":"unaffected","versions":[{"version":"2.0.0-alpha-0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://lists.apache.org/thread/fvlsfo9zoz5rqqn15pz4b72nkjbjmfw7","tags":["vendor-advisory"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NEGLIGIBLE","Automatable":"NO","Recovery":"USER","valueDensity":"DIFFUSE","vulnerabilityResponseEffort":"LOW","providerUrgency":"AMBER","version":"4.0","baseSeverity":"MEDIUM","baseScore":6,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/S:N/AU:N/R:U/V:D/RE:L/U:Amber"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","description":"CWE-918 Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-614","description":"CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1004","description":"CWE-1004 Sensitive Cookie Without 'HttpOnly' Flag","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-11-16T13:25:06.046Z"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"Joshua Rogers","type":"finder"},{"lang":"en","value":"Wentao He","type":"finder"},{"lang":"en","value":"Lenny Primak <lenny@flowlogix.com>","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/3"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-11-16T14:21:30.923Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T20:21:46.620841Z","id":"CVE-2026-88019","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-16T20:38:29.272Z"}}]}}}