Skip to main content

Apache Shiro CVE-2026-43828

| EUVDEUVD-2026-31734 MEDIUM
Sensitive Cookie in HTTPS Session Without 'Secure' Attribute (CWE-614)
2026-05-25 apache GHSA-c6r4-qjmw-cvj2
5.9
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Attacker gains network intercept position
  2. Delivery
    Victim browser makes HTTP request to Shiro-protected application
  3. Exploit
    Browser transmits JSESSIONID or rememberMe cookie without Secure flag
  4. Execution
    Attacker captures plaintext cookie from intercepted HTTP traffic
  5. Persist
    Attacker replays token over HTTPS
  6. Impact
    Attacker impersonates victim's authenticated session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V3 - Web Frontend Security Secure cookie flag
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the target application runs Apache Shiro 1.0-2.1.0 or 3.0.0-alpha-1 with the default Shiro-native session manager or RememberMe manager enabled - both are default-on features requiring no special configuration to activate; (2) the application or any upstream component (load balancer, CDN, HTTP redirect) serves any HTTP (non-TLS) responses to the victim client, or mixed HTTP/HTTPS content exists where the browser can be induced to send cookies over HTTP; and (3) the attacker holds a network intercept position between the victim and the server (e.g., same broadcast domain, ARP poisoning, rogue Wi-Fi AP, or ISP-level interception). User interaction is required (UI:A) because the victim must make an HTTP-bearing request that exposes the cookie. Exploitation is not possible in environments that enforce strict HTTPS-only with HSTS and no HTTP traffic reaches clients, as no unencrypted channel exists to intercept. The RememberMe vector additionally requires the victim to have previously selected 'Remember Me' during login.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A, score 5.9) conveys a meaningful but constrained risk: network-accessible and low complexity once positioned, but requiring an attack prerequisite (AT:P - the attacker must achieve a network intercept position) and active user interaction (UI:A - the victim must send an HTTP request exposing the cookie). The AT:P designation directly drives SSVC's 'Automatable: no' determination, ruling out mass scanning or automated exploitation. EPSS at 0.03% (9th percentile) reinforces that no significant exploitation activity has been observed in the wild. VC:H (high confidentiality impact on the vulnerable system) is accurate - a captured session token yields full account takeover - but this impact is gated by the intercept prerequisite. SSVC rates technical impact as 'partial,' consistent with per-account rather than systemic compromise. In practice, risk is elevated in environments serving HTTP alongside HTTPS (legacy redirect flows, mixed content), or where network-level adversaries are plausible (shared Wi-Fi, corporate LAN ARP-poisoning scenarios). Environments enforcing strict HTTPS-only with HSTS face substantially reduced real-world exposure despite the unfixed default.

Exploit ScenarioDerived

An attacker on a shared network (public Wi-Fi, corporate LAN) or performing ARP poisoning intercepts HTTP traffic from a victim who is browsing an Apache Shiro-protected application. Because neither the JSESSIONID nor the rememberMe cookie carries the Secure flag, the victim's browser transmits these tokens over the unencrypted HTTP channel - for example, during an initial HTTP redirect to HTTPS - allowing the attacker to capture them with standard traffic analysis tools. The attacker then replays the captured token in an HTTPS request to impersonate the victim's authenticated session. No public exploit code has been identified; standard network interception tooling (Wireshark, Burp Suite) is sufficient to execute this scenario.

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

Apache Shiro's default session and RememberMe cookie configuration omits the 'Secure' attribute, exposing JSESSIONID and rememberMe tokens to interception on any non-TLS channel in applications running versions 1.0 through 2.1.0 and 3.0.0-alpha-1. Successful exploitation allows an attacker with a network intercept position to capture and replay session or persistent-authentication tokens, fully hijacking an authenticated user's session. No public exploit has been identified and CISA has not listed this in KEV; EPSS at 0.03% (9th percentile) and SSVC exploitation status of 'none' indicate no observed active exploitation, making this primarily a risk in mixed HTTP/HTTPS or network-adjacent threat environments.

RemediationAI

Upgrade to Apache Shiro 2.1.1 (stable branch) or 3.0.0-alpha-2 or later (alpha branch), as confirmed by the vendor advisory at https://shiro.apache.org/security-reports.html#cve_2026_43828. These releases fix the default cookie configuration to include the Secure attribute. If immediate upgrade is not feasible, explicitly configure the Shiro SessionManager and RememberMeManager to set cookieSecure=true (or equivalent property) in your Shiro configuration file - this resolves the misconfiguration without requiring a library upgrade but must be re-verified after any upgrade to confirm the default does not re-override it. Deploying HTTP Strict Transport Security (HSTS) at the web server or load balancer layer reduces the attack surface by preventing HTTP downgrade scenarios, but does not fix the underlying missing Secure flag and carries the trade-off of requiring a valid TLS certificate covering all subdomains if includeSubDomains is used. Disabling the RememberMe feature entirely in applications that do not require persistent login eliminates the rememberMe cookie exposure vector with no functional impact to session-only workflows.

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-web 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

CWE-614 (Sensitive Cookie in HTTPS Session Without 'Secure' Attribute) identifies the root cause: a missing browser security flag rather than a code execution flaw. Apache Shiro is a widely used Java security framework (CPE: cpe:2.3:a:apache_software_foundation:apache_shiro:*:*:*:*:*:*:*:*) providing authentication, authorization, session management, and cryptography. Its native session manager issues JSESSIONID cookies to maintain stateful sessions, and its RememberMe manager issues persistent authentication cookies. Without the Secure flag, RFC 6265 permits browsers to transmit these cookies over plain HTTP connections - enabling passive interception in mixed-content scenarios, HTTP downgrade attacks, or any network segment where HTTP traffic is observable. The vulnerability is entirely a configuration default issue in the cookie issuance layer, not a flaw in Shiro's cryptographic or authentication logic.

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 5.3 MEDIUM

AC:H reflects the required network intercept position (AT:P in 4.0); UI:R because victim must send HTTP request; no integrity or availability impact applies.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/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:L/SI:N/SA:N
Red Hat 6.5 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 send sensitive cookies in HTTPS session without 'Secure' attribute.

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, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 41 maven packages depend on org.apache.shiro:shiro-web (11 direct, 30 indirect)

Ecosystem-wide dependent count for version 1.0.0-incubating.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Medium
widely used Java authentication framework in enterprise web applications
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
Medium
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