Shiro’s Jakarta EE module has a convenience called form saving: when an unauthenticated user submits a form, the module stores it, sends the user to log in, and after login resubmits the form so nothing typed is lost. It did the resubmission by having the server make an HTTP request of its own to the form’s target, and that is where two things went wrong. The Apache record says cookies “set by the application during the resubmission could lose their security attributes, such Secure and SameSite”, and that “the resubmitted form data and cookies could be sent to an untrusted host”. The feature is on by default in shiro-jakarta-ee. Upgrade to Shiro 3.0.2, which no longer replays the form over the network; until then pin the resubmission host and port with the org.apache.shiro.form-resubmit-host and form-resubmit-port system properties.
CVE-2026-88019 at a glance.
| Component | Apache Shiro, the shiro-jakarta-ee integration module: the automatic form-saving and resubmission feature. shiro-core, the servlet filter chain and the other integration modules are not named in the record |
| Affected versions | Shiro 2.0.0-alpha through 3.0.1, per the Apache CNA record; “only when using shiro-jakarta-ee integration module with form saving enabled (the default)” |
| Fixed in | Shiro 3.0.2, released 8 November 2026, which “no longer replays the form over the network, and avoids this class of issues entirely”. No distribution ships a current Shiro: Debian’s shiro package is 1.3.2, predates the module and is marked vulnerable and unfixed under bug 1154077; Ubuntu lists the same package as needing evaluation |
| Severity | Apache (CNA) CVSS 4.0 6.0 Medium (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N, with the supplemental metrics S:N/AU:N/R:U/V:D/RE:L/U:Amber; the UI:P is the user submitting a form and logging in), CWE-918 (server-side request forgery), CWE-614 (sensitive cookie without Secure) and CWE-1004 (cookie without HttpOnly). Apache’s own label is Medium; Ubuntu Medium; Debian no urgency set; NVD Received with the CNA score only |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30). EPSS 0.00265 (11.4th percentile) on 30 November 2026 |
| Who is exposed | Jakarta EE applications (Payara, GlassFish, WildFly, Open Liberty, TomEE) that use shiro-jakarta-ee with the default configuration and have forms a user can reach before logging in. The high confidentiality impact is the cookies: a session cookie reissued during the replay without Secure can travel over plain HTTP, one without SameSite can ride a cross-site request, and the whole bundle can be posted to a host the attacker chose if the form’s target can be influenced. The attacker needs a victim who submits a form and then logs in, which is the UI:P |
| Published | Apache announcement and CVE record 16 November 2026; this page built 1 December 2026, last updated 1 December 2026 |
What it is
The usual way to resubmit a saved form is client-side: after login, the server renders a page that re-posts the saved fields from the browser. Shiro’s module did it server-side. It kept the form data, and after login it opened an HTTP connection from the application server to the form’s action URL, sent the data with the user’s cookies, and relayed the response. That design has two consequences the record names. First, the response to the server-side request can set cookies, and when the module relayed them to the browser it rebuilt the Set-Cookie headers in a way that could drop the Secure, SameSite and HttpOnly attributes the application had put on them: CWE-614 and CWE-1004.
Second, the action URL was data the module trusted, and a server-side request to a URL the attacker can influence is server-side request forgery, CWE-918. A saved form whose target points at another host sends the user’s form data and cookies there, from the application server, with whatever network position the server has. The CVSS 4.0 vector’s high confidentiality impact is that second case; the user interaction it needs is the ordinary one, a form submission followed by a login, and the AT:P is the module and its default.
3.0.2 removes the network replay altogether, which the project says avoids the whole class; the interim mitigation for 2.x and 3.0.x restricts where the module will connect by setting the org.apache.shiro.form-resubmit-host (a string) and org.apache.shiro.form-resubmit-port (an integer) system properties, so a saved form can only be replayed to the application itself. The credit is to Joshua Rogers and Wentao He. Apache’s announcement thread renders only as an application shell to automated readers; the facts above are from the CVE record and the project’s security reports page.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. Shiro is a Maven dependency and the Jakarta EE module exists only from 2.0, so the row that matters is the last one.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page; Alpine does not package Shiro | — |
| Debian | shiro vulnerable in bookworm (1.3.2-5), trixie, forky and sid (1.3.2-6); source “(unfixed)”; Debian bug 1154077. The 1.3.2 package predates the Jakarta EE module, so the mark is conservative | nothing on 1 December 2026 |
| Ubuntu | Priority Medium; the shiro package is “Needs evaluation” on every release from 16.04 to 26.10; no fixed version | — |
| RHEL, Rocky, Alma, CentOS Stream | No page (client error); Red Hat does not ship Shiro | — |
| openSUSE/SLE | Not consulted for this page; SUSE does not ship Shiro | — |
| Maven Central, application bundles, containers with a vendored jar | The upstream release applies; every application that depends on the affected artefact needs a rebuild | shiro-jakarta-ee 3.0.2 |
How to check
Three questions: does the application load shiro-jakarta-ee below 3.0.2; is form saving on, which it is unless something turned it off; and are the two resubmit properties set. The third is the one that tells you whether the interim mitigation is already in place.
# 1. the Shiro jars an application actually loads (3.0.2 is fixed; 3.0.1 and below are affected)
for p in $(pgrep -x java); do tr '\0' '\n' < /proc/$p/cmdline | grep -oE '[^:]*shiro-[a-z-]+-[0-9][^:]*\.jar' | sed "s/^/pid $p: /"; done
find / -name 'shiro-*.jar' 2>/dev/null | grep -vE '/\.m2/' | sort -u
for w in /opt/*/*.war /opt/*/*.jar; do unzip -l "$w" 2>/dev/null | grep -oE 'shiro-[a-z-]+-[0-9][^ ]*\.jar' | sed "s|^|$w: |"; done 2>/dev/null
# 2. is the Jakarta EE module in use, and has form saving been disabled anywhere?
grep -rnE 'shiro-jakarta-ee|org\.apache\.shiro\.ee' --include='pom.xml' --include='*.gradle' --include='*.xml' /opt /srv 2>/dev/null | head
grep -rnE 'form.?sav|FormResubmit|resubmit' --include='*.ini' --include='*.properties' --include='*.xml' --include='*.java' /opt /srv 2>/dev/null | head
# 3. the mitigation properties, if any, on the running JVMs
for p in $(pgrep -x java); do tr '\0' '\n' < /proc/$p/cmdline | grep -E 'org\.apache\.shiro\.form-resubmit-(host|port)' | sed "s/^/pid $p: /"; done
grep -rnE 'form-resubmit-(host|port)' /opt/*/config /etc/default /etc/systemd/system 2>/dev/null | headAn application on 3.0.2, or one without shiro-jakarta-ee on its classpath, is done. Below 3.0.2 with the module present and nothing in step 2 disabling form saving, the feature is on; if step 3 shows both properties pointing at the application’s own host and port, the untrusted-host case is closed and the cookie-attribute case remains until the upgrade. Nothing in step 3 is the fully exposed shape.
How to fix it
Bump the dependency to 3.0.2, rebuild, redeploy and restart; the fixed module does not make the network request at all, so there is nothing further to configure.
# Maven: in the pom, then verify what resolved
# <shiro.version>3.0.2</shiro.version>
mvn -q dependency:tree -Dincludes=org.apache.shiro | grep shiro
# Gradle
./gradlew dependencies --configuration runtimeClasspath | grep shiro
# then rebuild the artefact, redeploy, restart the service and confirm the loaded jar
systemctl restart myapp && sleep 5 && for p in $(pgrep -x java); do tr '\0' '\n' < /proc/$p/cmdline | grep -o 'shiro-[a-z-]*-3\.0\.2\.jar'; doneThe project’s interim mitigation pins the host and port the module may resubmit to. They are JVM system properties, so they go on the application server’s command line or in its configuration, and they need a restart:
# Payara / GlassFish: as JVM options for the domain
asadmin create-jvm-options '-Dorg.apache.shiro.form-resubmit-host=app.corp.example:-Dorg.apache.shiro.form-resubmit-port=8443'
# WildFly / Open Liberty / any JVM: on the command line or in JAVA_OPTS
JAVA_OPTS="$JAVA_OPTS -Dorg.apache.shiro.form-resubmit-host=app.corp.example -Dorg.apache.shiro.form-resubmit-port=8443"
systemctl restart payaraWhat not to do: do not “fix” the cookie attributes by re-adding Secure and SameSite in a reverse-proxy rule and leave the replay in place, because the proxy never sees the server-to-server request that carries the data to a third host; and do not disable form saving by removing the module’s servlet filter without checking what else the filter does for the application. The properties are a two-line change and the upgrade removes the mechanism.
Sources
- CVE-2026-88019 at CVE.org — the Apache CNA record (16 November 2026): the description, the 2.0.0-alpha–3.0.1 range, CVSS 4.0 6.0 with supplemental metrics, CWE-918, CWE-614 and CWE-1004, and the two mitigation properties
- Apache Shiro security reports — the entry for this CVE (Medium, 3.0.2, the mitigation text, credit to Joshua Rogers and Wentao He)
- Apache Shiro 3.0.2 release — released 8 November 2026; its “Security Fixes” section lists the jakarta-ee form resubmit pull request; the news archive dates the release
- Apache announcement thread — the vendor advisory named in the record; renders as an application shell to automated readers, so its text is quoted here only as the CVE record carries it
- NVD entry — Received; published 16 November; the CNA’s CVSS 4.0 vector and the three CWEs;
shiro-jakarta-eebefore 3.0.2; no NVD score - Distribution trackers: Debian (shiro 1.3.2 vulnerable, unfixed, bug 1154077; the oss-security post of 14 November is linked there) · Ubuntu (Medium, needs evaluation) · Red Hat (no page; Shiro not shipped)
- CISA KEV catalogue 2026.11.30, not listed · EPSS: 0.00265, 11.4th percentile, on 30 November 2026
Related reading
- CVE-2026-137686: Apache Shiro ActiveDirectoryRealm accepts an empty credential as an anonymous bind — fixed in the same 3.0.2 release
- CVE-2026-74763: Apache Shiro ignores authorisation annotations declared on interfaces and parent classes — the third Shiro fix of 3.0.2
- CVE-2026-96655: Plex Media Server transcode SSRF — another server making requests on a user’s behalf to a URL the user controlled
- Running a reverse proxy — where cookie attributes are usually enforced, and why that does not cover a server-to-server request
- Life of a TCP connection — what an outbound connection from the application server can reach that the browser cannot
- Security advisories — every Linux-relevant CVE we track, newest first, with the component index
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
