{"id":"CVE-2026-88019","kind":"vulnerability","aliases":["CVE-2026-88019"],"related":[],"title":"Apache Shiro: form resubmission after login can leak cookies and 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.","summary":"When the Jakarta EE integration module is used with automatic form saving enabled, Shiro resubmits a saved form after login and can drop cookie security attributes such as Secure and SameSite. The resubmitted form data and cookies can also be sent to an untrusted host.","severity":"medium","cvss":6.0,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-shiro","jakarta-ee","java","package","self-hosted"],"not_affected_if":["form-saving-disabled","other-shiro-integration","shiro-2.x-before-alpha"],"how_to_check":"- Check whether the application depends on `shiro-jakarta-ee` and its Shiro version is between `2.0.0-alpha` and `3.0.1`.\n- Check that form saving is still on (the default) and that `org.apache.shiro.form-resubmit-host` and `org.apache.shiro.form-resubmit-port` are not set.","fix":"- Apache Shiro: upgrade to `3.0.2` or later, which no longer replays the form over the network.\n- Alternatively, 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 Shiro connects to when resubmitting a form.","status":"open","published_at":"2026-11-16T14:17:09+00:00","first_seen_at":"2026-11-16T14:37:00+00:00","triaged_at":"2026-11-16T14:37:21+00:00","updated_at":"2026-11-16T14:37:21+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T14:37:21Z","model":"claude-haiku-5-5","output":{"fix":"- Apache Shiro: upgrade to `3.0.2` or later, which no longer replays the form over the network.\n- Alternatively, 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 Shiro connects to when resubmitting a form.","reach":"network","title":"Apache Shiro: form resubmission after login can leak cookies and form data","impact":"medium","summary":"When the Jakarta EE integration module is used with automatic form saving enabled, Shiro resubmits a saved form after login and can drop cookie security attributes such as Secure and SameSite. The resubmitted form data and cookies can also be sent to an untrusted host.","audience":"businesses","category":"package","nicknames":[],"who_cares":["apache-shiro","java","jakarta-ee","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"cookies lose security flags and form data goes to an untrusted host","analyst_note":"","how_to_check":"- Check whether the application depends on `shiro-jakarta-ee` and its Shiro version is between `2.0.0-alpha` and `3.0.1`.\n- Check that form saving is still on (the default) and that `org.apache.shiro.form-resubmit-host` and `org.apache.shiro.form-resubmit-port` are not set.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["other-shiro-integration","form-saving-disabled","shiro-2.x-before-alpha"],"who_is_affected":"Only applications that use Apache Shiro with the shiro-jakarta-ee integration module and have form saving enabled, which is the default. Applications on other Shiro integrations, or with form saving turned off, are not affected.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000821,"input_tokens":4769,"output_tokens":688,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':14A,17A '-88019':15A,18A '2.0.0':141C '3.0.1':144C '3.0.2':164C 'addit':121C 'affect':137C 'alpha':142C 'also':68B 'altern':183C 'apach':1A,20B,76C,138C 'apache-shiro':19B 'applic':106C 'attribut':55B,114C 'automat':39B,87C 'avoid':177C 'class':179C 'connect':210C 'cooki':9A,53B,66B,102C,127C 'could':110C,128C 'cve':13A,16A 'data':12A,64B,125C 'default':159C 'drop':52B 'ee':24B,33B,83C,151C 'enabl':42B,157C 'entir':182C 'featur':90C 'form':3A,11A,40B,47B,63B,88C,96C,124C,155C,172C,215C 'host':29B,74B,134C,191C,204C 'integ':198C 'integr':34B,84C,152C 'issu':136C,181C 'jakarta':23B,32B,82C,150C 'jakarta-e':22B 'java':25B 'later':166C 'leak':8A 'login':6A,49B,101C 'longer':169C 'lose':111C 'mitig':160C 'modul':35B,85C,153C 'network':175C 'org.apache.shiro.form':188C,194C 'packag':26B 'port':197C,206C 'properti':200C 'replay':170C 'restrict':202C 'resubmiss':4A,109C 'resubmit':44B,62B,99C,123C,190C,196C,213C 'resubmit-host':189C 'resubmit-port':195C 'samesit':60B,119C 'save':41B,46B,89C,156C 'secur':54B,58B,93C,113C,117C 'self':28B 'self-host':27B 'sent':70B,130C 'set':103C,186C 'shiro':2A,21B,43B,77C,139C,149C,208C 'shiro-jakarta-e':148C 'string':192C 'system':199C 'untrust':73B,133C 'upgrad':161C 'use':37B,79C,147C 'version':163C 'weaken':91C","nicknames":[],"mitigations":[],"who_affected":"Only applications that use Apache Shiro with the shiro-jakarta-ee integration module and have form saving enabled, which is the default. Applications on other Shiro integrations, or with form saving turned off, are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["apacheshiro","jakartaee","java","medium","package","selfhosted"],"campaign_type":null,"search_a":"'-2026':14A,17A '-88019':15A,18A 'apach':1A 'cooki':9A 'cve':13A,16A 'data':12A 'form':3A,11A 'leak':8A 'login':6A 'resubmiss':4A 'shiro':2A","search_b":"'also':68B 'apach':20B 'apache-shiro':19B 'attribut':55B 'automat':39B 'cooki':53B,66B 'data':64B 'drop':52B 'ee':24B,33B 'enabl':42B 'form':40B,47B,63B 'host':29B,74B 'integr':34B 'jakarta':23B,32B 'jakarta-e':22B 'java':25B 'login':49B 'modul':35B 'packag':26B 'resubmit':44B,62B 'samesit':60B 'save':41B,46B 'secur':54B,58B 'self':28B 'self-host':27B 'sent':70B 'shiro':21B,43B 'untrust':73B 'use':37B","search_c":"'2.0.0':141C '3.0.1':144C '3.0.2':164C 'addit':121C 'affect':137C 'alpha':142C 'altern':183C 'apach':76C,138C 'applic':106C 'attribut':114C 'automat':87C 'avoid':177C 'class':179C 'connect':210C 'cooki':102C,127C 'could':110C,128C 'data':125C 'default':159C 'ee':83C,151C 'enabl':157C 'entir':182C 'featur':90C 'form':88C,96C,124C,155C,172C,215C 'host':134C,191C,204C 'integ':198C 'integr':84C,152C 'issu':136C,181C 'jakarta':82C,150C 'later':166C 'login':101C 'longer':169C 'lose':111C 'mitig':160C 'modul':85C,153C 'network':175C 'org.apache.shiro.form':188C,194C 'port':197C,206C 'properti':200C 'replay':170C 'restrict':202C 'resubmiss':109C 'resubmit':99C,123C,190C,196C,213C 'resubmit-host':189C 'resubmit-port':195C 'samesit':119C 'save':89C,156C 'secur':93C,113C,117C 'sent':130C 'set':103C,186C 'shiro':77C,139C,149C,208C 'shiro-jakarta-e':148C 'string':192C 'system':199C 'untrust':133C 'upgrad':161C 'use':79C,147C 'version':163C 'weaken':91C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T14:17:09+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:D/RE:L/U:Amber","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-88019","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88019","severity":null,"published_at":"2026-11-16T14:17:09+00:00","modified_at":"2026-11-16T14:17:09+00:00","first_seen_at":"2026-11-16T14:37:00+00:00","fetched_at":"2026-11-16T14:37:00+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}