Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject known session ID into victim browser
-
DeliveryInduce victim to authenticate to Shiro application
-
ExploitShiro retains session ID without rotation post-login
-
ExecutionAttacker presents pre-fixed token to application
-
ImpactGain full access to victim authenticated session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session fixation prevention
|
| Exploitation Conditions | The vulnerability is present in Apache Shiro's default session management configuration - no non-default feature flag, plugin, or deployment mode is required. Exploitation requires two coordinated prerequisites: first, the attacker must successfully inject or communicate a known session identifier to the target user's browser prior to login (via cookie injection, URL parameter, or a secondary XSS channel on the same origin); second, the victim must actively complete a login flow on the Shiro-protected application using that pre-planted session. User interaction is mandatory (CVSS 4.0 UI:A). What limits exploitation is the need for attacker-victim coordination around a specific authentication event - SSVC confirms the attack is non-automatable. No privilege escalation by the attacker is required prior to the attack (PR:N), but network-level or same-origin access to inject the session token is a practical prerequisite not formally captured in the vector. |
| Impact | The CVSS 4.0 score of 5.9 reflects moderate severity, with AT:P and UI:A both indicating that exploitation is victim-dependent and not automatable - an assessment confirmed independently by SSVC (Automatable: no, Exploitation: none). EPSS at 0.04% in the 13th percentile signals extremely low near-term exploitation probability in observed telemetry. The absence of a CISA KEV listing aligns with the SSVC and EPSS signals, indicating no confirmed active exploitation at time of analysis. VC:H in the CVSS 4.0 vector correctly captures that a successful attack yields full access to the victim's authenticated session. The vendor's VI:N choice is defensible as the primary observed impact is information disclosure (session token access), though in practice an attacker with a hijacked session can act as the victim, implying latent integrity risk not captured in the base vector. Overall, real-world priority is moderate: the vulnerability is present in default deployments of a prevalent framework, but mass exploitation is practically constrained by the manual coordination required between attacker and victim. |
| Exploit ScenarioDerived | An attacker positions themselves to inject a known session cookie into the victim's browser - via a network man-in-the-middle, a reflected parameter on the login page URL, or a separate XSS vulnerability on the same domain - before the victim authenticates. Once the victim completes login, Apache Shiro retains the pre-planted session ID without rotation, and the attacker immediately reuses that token to impersonate the authenticated victim. No public exploit code has been identified at time of analysis, but the session fixation technique is thoroughly documented in OWASP literature and requires only standard HTTP tooling to execute. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Session fixation in Apache Shiro 1.0 through 2.1.0 and 3.0.0-alpha-1 exposes authenticated user sessions to hijacking because the framework's default configuration neither invalidates the pre-existing session nor rotates the session ID upon successful login. An unauthenticated remote attacker who plants a known session token before the victim authenticates can reuse that token post-login to access the victim's authenticated context, resulting in high confidentiality impact to the vulnerable system. No public exploit has been identified at time of analysis; EPSS at 0.04% (13th percentile) and SSVC exploitation status of 'none' both reflect negligible observed exploitation activity.
RemediationAI
Vendor-released patch: upgrade to Apache Shiro 2.1.1 for users on the stable 2.x branch, or to 3.0.0-alpha-2 or later for alpha-branch adopters. Both releases implement proper session ID invalidation and rotation upon successful authentication. Full advisory details are available at https://shiro.apache.org/security-reports.html#cve_2026_43827 and the oss-security disclosure at http://www.openwall.com/lists/oss-security/2026/05/25/6. If immediate patching is not feasible, a targeted compensating control is to implement a custom Shiro AuthenticationListener that explicitly invalidates the current session and forces creation of a new session ID immediately after a successful login event - this requires application-level code changes and should be tested for session state continuity side effects. Additionally, enforcing aggressively short session timeouts reduces the usable window for a pre-planted token but does not eliminate the root cause vulnerability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Shiro (cpe:2.3:a:apache_software_foundation:apache_shiro) is a widely-adopted Java security framework providing authentication, authorization, cryptography, and session management across enterprise Java applications. The root cause is CWE-384 (Session Fixation): Shiro's default session handler does not call session invalidation or ID rotation during the authentication state transition. OWASP and RFC best practices require that a new session identifier be issued whenever a principal's privilege level changes - specifically at login - to prevent pre-authentication tokens from retaining validity post-login. The CVSS 4.0 vector's AT:P (Attack Requirements: Present) captures that the attack requires the adversary to pre-establish a session ID the victim will reuse, typically via cookie injection, URL parameter manipulation, or a complementary XSS channel, rather than being a purely passive exploitation path.
Know when Apache Shiro gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber
Requires victim-coordinated authentication with attacker-planted session ID (AC:H, UI:R, PR:N); scope changes to authenticated context (S:C, C:H); no direct integrity or availability impact per vendor-confirmed disclosure impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Default configurations of Apache Shiro have a session fixation vulnerability.
This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.
Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.
In the affected versions, when a session already exists, it is not invalidated upon successful login, nor is a new session being generated with a new ID.
Blast Radius
ecosystem impact- 63 maven packages depend on org.apache.shiro:shiro-core (23 direct, 40 indirect)
Ecosystem-wide dependent count for version 1.0.0-incubating.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Shiro
View allRedragon ERP 1.0 can be attacked without authentication through Apache Shiro's rememberMe deserialization path when the
LDAP injection in Apache Shiro's DefaultLdapRealm allows remote unauthenticated attackers to manipulate Distinguished Na
Apache Shiro's default session and RememberMe cookie configuration omits the 'Secure' attribute, exposing JSESSIONID and
EUVD-2026-31736
GHSA-fcvm-3cpj-f9qx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB