
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-43827 is a session fixation vulnerability (CWE-384) in Apache Shiro's default configuration, where existing sessions are not invalidated upon successful login and no new session ID is generated post-authentication. It affects Apache Shiro versions 1.0 through 2.1.0 and 3.0.0-alpha-1 (including 3.0.0-alpha-0). The vulnerability was disclosed on May 25, 2026, by Rasmus Moorats (finder) and remediated by Lenny Primak. It carries a CVSS v3.1 score of 6.5 (Medium) and a CVSS v4.0 score of 5.9 (Medium) (GitHub Advisory, OSS-Security).
The root cause is classified as CWE-384 (Session Fixation): Apache Shiro's default session management does not invalidate an existing session or regenerate the session ID upon successful user authentication. An attacker can exploit this by first obtaining a valid (pre-authentication) session token — for example, by visiting the application — and then tricking a victim into authenticating while that session token is active. Because Shiro does not replace the session ID at login, the attacker's pre-seeded session token becomes a fully authenticated session. Exploitation requires user interaction (the victim must log in) and the presence of an existing session, but no privileges are required on the attacker's part (OSS-Security, GitHub Advisory).
Successful exploitation allows an unauthenticated attacker to hijack an authenticated user's session, effectively impersonating that user and gaining access to all resources and data the victim is authorized to access. The primary impact is a high confidentiality loss — the attacker can read sensitive application data and perform actions on behalf of the victim. Integrity and availability of the vulnerable system are not directly impacted by this vulnerability (GitHub Advisory, OSS-Security).
JSESSIONID or Shiro-specific cookies, or by reviewing application dependencies).JSESSIONID=<attacker_session_id>) from the server.JSESSIONID or Shiro session cookie) used both before and after a successful login event, without a session rotation entry.Users should upgrade Apache Shiro to version 2.1.1 or 3.0.0-alpha-2 (or later), which fix the issue by invalidating existing sessions and generating new session IDs upon successful login. As a configuration-based workaround prior to patching, administrators can implement custom SessionManager or authentication listener logic to explicitly invalidate and recreate sessions on login. Reviewing and enforcing secure session management practices — such as always regenerating session IDs post-authentication — is recommended as a defense-in-depth measure (OSS-Security, Apache Shiro Security Reports).
The vulnerability was disclosed via the Apache security mailing list and the OSS-Security list on May 25, 2026, with credit given to finder Rasmus Moorats and remediation developer Lenny Primak (OSS-Security). Community discussion was noted on Bluesky (infosec.skyfleet.blue) shortly after disclosure. Overall community sentiment appears measured, given the moderate CVSS score, the requirement for user interaction, and the absence of a public PoC or active exploitation.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."