Vulnerabilities in pkg:maven/org.keycloak/keycloak-saml-core
PACKAGEGHSA-wmxr-6j5f-838p is a HIGH (CVSS 7.7) keycloak: unauthorized access vulnerability (CWE-1287: Improper Validation of Specified Type of Input) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves keycloak: unauthorized access via improper validation of encrypted saml assertions. Remediation is available by upgrading affected packages to version 26.2.14, 26.4.10, 26.5.5.
pkg:maven/org.keycloak/keycloak-saml-core
Vulnerability advisories affecting package pkg:maven/org.keycloak/keycloak-saml-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wmxr-6j5f-838p | - | HIGH | Duplicate Advisory: Keycloak: Unauthorized access via improper validation of encrypted SAML assertions |
| GHSA-xv6h-r36f-3gp5 | CVE-2026-2575 | MODERATE | Keycloak: Denial of Service due to excessive SAMLRequest decompression |
| GHSA-p5mv-gj8j-xqgf | CVE-2026-7307 | HIGH | Keycloak: Denial of Service via specially crafted SAML input |
| GHSA-xgfv-xpx8-qhcr | CVE-2024-8698 | HIGH | Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak |
| GHSA-4xx7-2cx3-x473 | - | MODERATE | Duplicate Advisory: Keycloak SAML signature validation flaw |
| GHSA-q2gp-gph3-88x9 | - | HIGH | Keycloak allows arbitrary Javascript to be uploaded for SAML protocol mapper even if UPLOAD_SCRIPTS feature disabled |
| GHSA-4pc7-vqv5-5r3v | CVE-2021-3827 | HIGH | ECP SAML binding bypasses authentication flows |
GHSA-wmxr-6j5f-838p at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L).
How to Fix GHSA-wmxr-6j5f-838p
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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.keycloak</groupId>
<artifactId>keycloak-services</artifactId>
<version>26.2.14</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-adapter-core</artifactId>
<version>26.2.14</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-core</artifactId>
<version>26.4.10</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-services</artifactId>
<version>26.5.5</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-adapter-core</artifactId>
<version>26.4.10</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-adapter-core</artifactId>
<version>26.5.5</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-services</artifactId>
<version>26.4.10</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-core</artifactId>
<version>26.2.14</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-saml-core</artifactId>
<version>26.5.5</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.keycloak
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-wmxr-6j5f-838p, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.keycloak
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 26.2.14), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.keycloak 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-1287: Improper Validation of Specified Type of Input, where the product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type. In Duplicate Advisory, 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
GHSA-wmxr-6j5f-838p Affected Duplicate Advisory Versions
9 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.keycloak:keycloak-services
|
Maven |
< 26.2.14
|
26.2.14
|
|
org.keycloak:keycloak-saml-adapter-core
|
Maven |
< 26.2.14
|
26.2.14
|
|
org.keycloak:keycloak-saml-core
|
Maven |
≥ 26.3.0
< 26.4.10
|
26.4.10
|
|
org.keycloak:keycloak-services
|
Maven |
≥ 26.5.0
< 26.5.5
|
26.5.5
|
|
org.keycloak:keycloak-saml-adapter-core
|
Maven |
≥ 26.3.0
< 26.4.10
|
26.4.10
|
|
org.keycloak:keycloak-saml-adapter-core
|
Maven |
≥ 26.5.0
< 26.5.5
|
26.5.5
|
|
org.keycloak:keycloak-services
|
Maven |
≥ 26.3.0
< 26.4.10
|
26.4.10
|
|
org.keycloak:keycloak-saml-core
|
Maven |
< 26.2.14
|
26.2.14
|
|
org.keycloak:keycloak-saml-core
|
Maven |
≥ 26.5.0
< 26.5.5
|
26.5.5
|
References
Frequently Asked Questions
What is GHSA-wmxr-6j5f-838p?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-wmxr-6j5f-838p?
Is keycloak-services affected?
Is keycloak-saml-adapter-core affected?
What is the CVSS score of GHSA-wmxr-6j5f-838p?
What CWE is associated with GHSA-wmxr-6j5f-838p?
How can I check Maven dependencies for GHSA-wmxr-6j5f-838p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wmxr-6j5f-838p",
"modified" : "2026-10-06T18:31:15Z",
"published" : "2026-03-18T03:32:09Z",
"withdrawn" : "2026-07-02T20:42:16Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Keycloak: Unauthorized access via improper validation of encrypted SAML assertions",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-794g-x443-36f7. This link is maintained to preserve external references.\n\n### Original Description\nA flaw was found in Keycloak. Keycloak's Security Assertion Markup Language (SAML) broker endpoint does not properly validate encrypted assertions when the overall SAML response is not signed. An attacker with a valid signed SAML assertion can exploit this by crafting a malicious SAML response. This allows the attacker to inject an encrypted assertion for an arbitrary principal, leading to unauthorized access and potential information disclosure.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-saml-adapter-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "26.2.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-saml-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.3.0"
}, {
"fixed" : "26.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-services"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.5.0"
}, {
"fixed" : "26.5.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-saml-adapter-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.3.0"
}, {
"fixed" : "26.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-saml-adapter-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.5.0"
}, {
"fixed" : "26.5.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-services"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "26.2.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-services"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.3.0"
}, {
"fixed" : "26.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-saml-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "26.2.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.keycloak:keycloak-saml-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.5.0"
}, {
"fixed" : "26.5.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-2092"
}, {
"type" : "WEB",
"url" : "https://github.com/keycloak/keycloak/commit/b40a25908d937bb0563ea516487bc2c7c1d92508"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:3925"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:3926"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:3947"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:3948"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:76128"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:76129"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:76130"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:76132"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:76134"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2026-2092"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2437296"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/keycloak/keycloak"
}, {
"type" : "WEB",
"url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2092.json"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-18T20:17:21Z",
"nvd_published_at" : "2026-03-18T02:16:24Z"
}
}