Vulnerabilities in pkg:maven/org.apache.shiro/shiro-core
PACKAGECVE-2026-43827 is a MODERATE apache shiro has a session vulnerability (CWE-384: Session Fixation) affecting Shiro core libraries in the Maven ecosystem. The issue involves apache shiro has a session fixation vulnerability. Remediation is available by upgrading affected packages to version 2.2.0, 3.0.0-alpha-2.
pkg:maven/org.apache.shiro/shiro-core
Vulnerability advisories affecting package pkg:maven/org.apache.shiro/shiro-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fcvm-3cpj-f9qx | CVE-2026-43827 | MODERATE | Apache Shiro has a session fixation vulnerability |
| GHSA-x96m-rh44-vgv8 | CVE-2026-49268 | HIGH | Apache Shiro: LDAP DN Injection in DefaultLdapRealm |
| GHSA-c4qc-4q9p-m9q9 | CVE-2026-23901 | LOW | Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability |
| GHSA-jc7h-c423-mpjc | CVE-2023-46749 | MODERATE | Apache Shiro vulnerable to path traversal |
| GHSA-p836-389h-j692 | CVE-2016-4437 | CRITICAL | Improper Access Control in Apache Shiro |
| GHSA-r679-m633-g7wc | CVE-2019-12422 | HIGH | Improper input validation in Apache Shiro |
| GHSA-45x9-q6vj-cqgq | CVE-2022-40664 | CRITICAL | Apache Shiro Authentication Bypass vulnerability |
| GHSA-f6jp-j6w3-w9hm | CVE-2021-41303 | CRITICAL | Apache Shiro vulnerable to a specially crafted HTTP request causing an authentication bypass |
| GHSA-4cf5-xmhp-3xj7 | CVE-2022-32532 | CRITICAL | Improper Authorization in Apache Shiro |
| GHSA-72w9-fcj5-3fcg | CVE-2020-11989 | CRITICAL | Improper Authentication in Apache Shiro |
| GHSA-26gr-cvq3-qxgf | CVE-2020-1957 | CRITICAL | Improper Authentication in Apache Shiro |
| GHSA-2vgm-wxr3-6w2j | CVE-2020-13933 | HIGH | Authentication bypass in Apache Shiro |
CVE-2026-43827 at a Glance
How to Fix CVE-2026-43827
To remediate this vulnerability, upgrade all affected Shiro core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>3.0.0-alpha-2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.shiro
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-43827, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.shiro
Analyze the terminal output to locate any version of Shiro core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.shiro command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Shiro core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-43827 Affected Shiro core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.shiro:shiro-core
|
Maven |
≥ 1.0.0-incubating
< 2.2.0
|
2.2.0
|
|
org.apache.shiro:shiro-core
|
Maven |
≥ 3.0.0-alpha-1
< 3.0.0-alpha-2
All 1 versions
3.0.0-alpha-1
|
3.0.0-alpha-2
|
References
Frequently Asked Questions
What is CVE-2026-43827?
Which Shiro core versions are affected?
What version fixes CVE-2026-43827?
Is shiro-core affected?
What CWE is associated with CVE-2026-43827?
How can I check Maven dependencies for CVE-2026-43827?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fcvm-3cpj-f9qx",
"modified" : "2026-06-30T17:26:23Z",
"published" : "2026-05-26T13:30:50Z",
"aliases" : [ "CVE-2026-43827" ],
"summary" : "Apache Shiro has a session fixation vulnerability",
"details" : "Default configurations of Apache Shiro have a session fixation vulnerability.\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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/RE:L/U:Amber"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.shiro:shiro-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0-incubating"
}, {
"fixed" : "2.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.shiro:shiro-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0-alpha-1"
}, {
"fixed" : "3.0.0-alpha-2"
} ]
} ],
"versions" : [ "3.0.0-alpha-1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-43827"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/shiro"
}, {
"type" : "WEB",
"url" : "https://shiro.apache.org/security-reports.html#cve_2026_43827"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/05/25/6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-30T17:26:23Z",
"nvd_published_at" : "2026-05-25T21:16:34Z"
}
}