CVE-2026-46455: Apache Camel-Keycloak The Access-token Validity Window Is Vulnerability
CRITICALCVE-2026-46455 is a CRITICAL (CVSS 9.8) the access-token validity window is vulnerability (CWE-613: Insufficient Session Expiration) affecting Apache Camel-Keycloak libraries in the Maven ecosystem. The issue involves the access-token validity window is not verified because the is_active check is missing from the tokenverifier, allowing expired tokens to be accepted. Remediation is available by upgrading affected packages to version 4.18.3, 4.21.0.
CVE-2026-46455 at a Glance
Security Impact
CVSS: 9.8
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:H).
How to Fix CVE-2026-46455
To remediate this vulnerability, upgrade all affected Apache Camel-Keycloak 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.3</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-keycloak</artifactId>
<version>4.21.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-46455, 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-Keycloak in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.18.3), 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-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Apache Camel-Keycloak, 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-46455 Affected Apache Camel-Keycloak Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-keycloak
|
Maven |
≥ 4.18.0
< 4.18.3
|
4.18.3
|
|
org.apache.camel:camel-keycloak
|
Maven |
≥ 4.19.0
< 4.21.0
|
4.21.0
|
References
Frequently Asked Questions
What is CVE-2026-46455?
Which Apache Camel-Keycloak versions are affected?
What version fixes CVE-2026-46455?
Is camel-keycloak affected?
What is the CVSS score of CVE-2026-46455?
What CWE is associated with CVE-2026-46455?
How can I check Maven dependencies for CVE-2026-46455?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mqwc-6qwc-v9gq",
"modified" : "2026-08-28T19:24:06Z",
"published" : "2026-07-06T09:30:28Z",
"aliases" : [ "CVE-2026-46455" ],
"summary" : "Apache Camel-Keycloak: The access-token validity window is not verified because the IS_ACTIVE check is missing from the TokenVerifier, allowing expired tokens to be accepted",
"details" : "Insufficient Session Expiration vulnerability in Apache Camel Keycloak Component.\n\nThe camel-keycloak security helper KeycloakSecurityHelper.parseAndVerifyAccessToken builds a Keycloak TokenVerifier using withChecks(...) with only the subject-exists check and the realm-URL (issuer) check. Keycloak's TokenVerifier.withChecks(...) appends to an initially empty check list - the upstream default checks are installed only when withDefaultChecks() is called - so the built-in IS_ACTIVE predicate, which validates the token's exp (expiration) and nbf (not-before) claims, is never applied. As a result the helper verifies the token signature, subject and issuer but does not enforce the token's validity window: an access token that is expired, or not yet valid, is accepted as valid. Routes that rely on this helper to authenticate inbound requests therefore accept access tokens that are outside their intended lifetime.\nThis issue affects Apache Camel: from 4.18.0 before 4.18.3, from 4.19.0 before 4.21.0.\n\nUsers are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes KeycloakSecurityHelper.parseAndVerifyAccessToken include the TokenVerifier.IS_ACTIVE check so that expired or not-yet-valid access tokens are rejected, aligning the helper with Keycloak's default check set. For deployments that cannot upgrade immediately, enforce token expiration outside the helper - for example validate the access token's exp/nbf claims in the route before trusting it, keep Keycloak access-token lifetimes short, and ensure any upstream gateway or resource server also validates the token validity window.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-keycloak"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.18.0"
}, {
"fixed" : "4.18.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-keycloak"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.19.0"
}, {
"fixed" : "4.21.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-46455"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/23197"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/23204"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/39133b1ada37c60dea53f3b7db720dbd2ae73fa6"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/7f4c4736021aff4fad925eca3bf456b95db038f3"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2026-46455.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.18.3"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.21.0"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-23504"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/07/05/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-28T19:24:06Z",
"nvd_published_at" : "2026-07-06T09:16:36Z"
}
}