Skip to main content

Apache Shiro EUVDEUVD-2026-31736

| CVE-2026-43827 MEDIUM
Session Fixation (CWE-384)
2026-05-25 apache GHSA-fcvm-3cpj-f9qx
5.9
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject known session ID into victim browser
  2. Delivery
    Induce victim to authenticate to Shiro application
  3. Exploit
    Shiro retains session ID without rotation post-login
  4. Execution
    Attacker presents pre-fixed token to application
  5. Impact
    Gain 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Shiro 1.0 ≤2.1.0
Apache Shiro 3.0.0-alpha-0 ≤3.0.0-alpha-1

Affected Packages

maven org.apache.shiro:shiro-core fix: 2.2.0, 3.0.0-alpha-2
euvd apache_shiro no fix

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

Vendor (apache) PRIMARY 5.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 7.1 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVE Published
May 25, 2026 - 20:19 nvd
UNKNOWN (no severity yet)
CVE Published
May 25, 2026 - 20:19 cve.org
MEDIUM 5.9

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 87% exploitable
Prevalence
High
popular Java security framework with broad enterprise Java adoption
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy