{"id":"CVE-2026-74762","kind":"vulnerability","aliases":["CVE-2026-74762"],"related":[],"title":"Apache Shiro: Remember-me login keeps old session ID, enabling session fixation","description":"Apache Shiro is vulnerable to session fixation when a user is authenticated via the \"Remember me\" functionality. In affected versions, when a subject is restored from a \"Remember me\" cookie, the existing session is not invalidated, nor is a new session created with a new ID.\nAdditionally, session IDs were accepted from the request URL even when session ID URL rewriting was disabled.\nThis issue affects all Apache Shiro versions through 3.0.0, only when RememberMe functionality is enabled.\n\nMitigation: Upgrade to version 3.0.1 or later, which fixes the issue by invalidating the existing session and creating a new session with a new ID when a subject is restored from a \"Remember me\" cookie, and by ignoring session IDs in the URL when URL rewriting is disabled.","summary":"When a user is logged in through Shiro's Remember me cookie, the existing session is not invalidated and no new session ID is issued, and session IDs in URLs are accepted even when URL rewriting is disabled. An attacker who plants a known session ID in a victim's browser can hijack the session after the victim logs in.","severity":"medium","cvss":5.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-shiro","java","package","web-apps"],"not_affected_if":["remember-me-disabled","shiro-above-3.0.0"],"how_to_check":"- Check whether the application uses Apache Shiro and its version, for example by reviewing the `shiro-core` dependency in the build file.\n- Confirm whether RememberMe is enabled in the Shiro configuration (`rememberMe` / CookieRememberMeManager).\n- Look for any version of Shiro through `3.0.0` in use.","fix":"- Apache Shiro: upgrade to `3.0.1` or later.","status":"open","published_at":"2026-11-16T14:17:08+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.8,"triage":{"at":"2026-11-16T14:37:21Z","model":"claude-haiku-5-5","output":{"fix":"- Apache Shiro: upgrade to `3.0.1` or later.","reach":"internet","title":"Apache Shiro: Remember-me login keeps old session ID, enabling session fixation","impact":"medium","summary":"When a user is logged in through Shiro's Remember me cookie, the existing session is not invalidated and no new session ID is issued, and session IDs in URLs are accepted even when URL rewriting is disabled. An attacker who plants a known session ID in a victim's browser can hijack the session after the victim logs in.","audience":"businesses","category":"package","nicknames":[],"who_cares":["java","apache-shiro","web-apps"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"attacker hijacks a victim's session after login","analyst_note":"","how_to_check":"- Check whether the application uses Apache Shiro and its version, for example by reviewing the `shiro-core` dependency in the build file.\n- Confirm whether RememberMe is enabled in the Shiro configuration (`rememberMe` / CookieRememberMeManager).\n- Look for any version of Shiro through `3.0.0` in use.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["remember-me-disabled","shiro-above-3.0.0"],"who_is_affected":"Only applications that use Apache Shiro with the Remember me feature enabled are exposed. The flaw affects Shiro versions through 3.0.0; applications that do not enable RememberMe are not affected by the cookie-restore path.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000766,"input_tokens":4710,"output_tokens":589,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':15A,18A '-74762':16A,19A '3.0.0':158C '3.0.1':169C 'accept':59B,137C 'addit':133C 'affect':105C,152C 'apach':1A,21B,87C,154C 'apache-shiro':20B 'app':27B 'attack':67B 'authent':98C 'browser':78B 'cooki':39B,116C,199C 'creat':128C,182C 'cve':14A,17A 'disabl':65B,149C,212C 'enabl':11A,164C 'even':60B,142C 'exist':41B,118C,179C 'fix':173C 'fixat':13A,93C 'function':103C,162C 'hijack':80B 'id':10A,50B,55B,73B,132C,135C,145C,189C,204C 'ignor':202C 'invalid':45B,122C,177C 'issu':52B,151C,175C 'java':23B 'keep':7A 'known':71B 'later':171C 'log':32B,86B 'login':6A 'mitig':165C 'new':48B,126C,131C,184C,188C 'old':8A 'packag':24B 'plant':69B 'rememb':4A,37B,101C,114C,197C 'remember-m':3A 'rememberm':161C 'request':140C 'restor':111C,194C 'rewrit':63B,147C,210C 'session':9A,12A,42B,49B,54B,72B,82B,92C,119C,127C,134C,144C,180C,185C,203C 'shiro':2A,22B,35B,88C,155C 'subject':109C,192C 'upgrad':166C 'url':57B,62B,141C,146C,207C,209C 'user':30B,96C 'version':106C,156C,168C 'via':99C 'victim':76B,85B 'vulner':90C 'web':26B 'web-app':25B","nicknames":[],"mitigations":[],"who_affected":"Only applications that use Apache Shiro with the Remember me feature enabled are exposed. The flaw affects Shiro versions through 3.0.0; applications that do not enable RememberMe are not affected by the cookie-restore path.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["apacheshiro","java","medium","package","webapps"],"campaign_type":null,"search_a":"'-2026':15A,18A '-74762':16A,19A 'apach':1A 'cve':14A,17A 'enabl':11A 'fixat':13A 'id':10A 'keep':7A 'login':6A 'old':8A 'rememb':4A 'remember-m':3A 'session':9A,12A 'shiro':2A","search_b":"'accept':59B 'apach':21B 'apache-shiro':20B 'app':27B 'attack':67B 'browser':78B 'cooki':39B 'disabl':65B 'even':60B 'exist':41B 'hijack':80B 'id':50B,55B,73B 'invalid':45B 'issu':52B 'java':23B 'known':71B 'log':32B,86B 'new':48B 'packag':24B 'plant':69B 'rememb':37B 'rewrit':63B 'session':42B,49B,54B,72B,82B 'shiro':22B,35B 'url':57B,62B 'user':30B 'victim':76B,85B 'web':26B 'web-app':25B","search_c":"'3.0.0':158C '3.0.1':169C 'accept':137C 'addit':133C 'affect':105C,152C 'apach':87C,154C 'authent':98C 'cooki':116C,199C 'creat':128C,182C 'disabl':149C,212C 'enabl':164C 'even':142C 'exist':118C,179C 'fix':173C 'fixat':93C 'function':103C,162C 'id':132C,135C,145C,189C,204C 'ignor':202C 'invalid':122C,177C 'issu':151C,175C 'later':171C 'mitig':165C 'new':126C,131C,184C,188C 'rememb':101C,114C,197C 'rememberm':161C 'request':140C 'restor':111C,194C 'rewrit':147C,210C 'session':92C,119C,127C,134C,144C,180C,185C,203C 'shiro':88C,155C 'subject':109C,192C 'upgrad':166C 'url':141C,146C,207C,209C 'user':96C 'version':106C,156C,168C 'via':99C 'vulner':90C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T14:17:08+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/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-74762","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74762","severity":null,"published_at":"2026-11-16T14:17:08+00:00","modified_at":"2026-11-16T14:17:08+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"}