CVE-2026-23552: Apache Camel KeycloakSecurityPolicy Does Not Validate Issuer Vulnerability
CRITICALCVE-2026-23552 is a CRITICAL (CVSS 9.1) keycloaksecuritypolicy does not validate issuer vulnerability (CWE-346: Origin Validation Error) affecting Apache Camel libraries in the Maven ecosystem. The issue involves keycloaksecuritypolicy does not validate issuer of jwt tokens against configured realm. Remediation is available by upgrading affected packages to version 4.18.0.
CVE-2026-23552 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-23552
To remediate this vulnerability, upgrade all affected Apache Camel 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.camel</groupId>
<artifactId>camel-keycloak</artifactId>
<version>4.18.0</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.camel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-23552, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.camel
Analyze the terminal output to locate any version of Apache Camel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.18.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.camel 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-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In Apache Camel, 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-23552 Affected Apache Camel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-keycloak
|
Maven |
≥ 4.15.0
< 4.18.0
|
4.18.0
|
References
Frequently Asked Questions
What is CVE-2026-23552?
Which Apache Camel versions are affected?
What version fixes CVE-2026-23552?
Is camel-keycloak affected?
What is the CVSS score of CVE-2026-23552?
What CWE is associated with CVE-2026-23552?
How can I check Maven dependencies for CVE-2026-23552?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c3f3-cc42-xr9v",
"modified" : "2026-02-25T18:04:33Z",
"published" : "2026-02-23T09:31:23Z",
"aliases" : [ "CVE-2026-23552" ],
"summary" : "Apache Camel: KeycloakSecurityPolicy does not validate issuer of JWT tokens against configured realm",
"details" : "Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy Apache Camel Keycloak component. \n\nThe Camel-Keycloak KeycloakSecurityPolicy does not validate the iss (issuer) claim of JWT tokens against the configured realm. A token issued by one Keycloak realm is silently accepted by a policy configured for a completely different realm, breaking tenant isolation.\nThis issue affects Apache Camel: from 4.15.0 before 4.18.0.\n\nUsers are recommended to upgrade to version 4.18.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-keycloak"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.15.0"
}, {
"fixed" : "4.18.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23552"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/c1ed776e3a4fa23d15acf4b9a48fdf758d4316ff"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2026-23552.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://github.com/oscerd/CVE-2026-23552"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-22854"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/02/18/7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-346" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-25T18:04:33Z",
"nvd_published_at" : "2026-02-23T09:17:00Z"
}
}