Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain legitimately-issued Keycloak access token
-
DeliveryWait past token exp or use not-yet-valid token
-
ExploitReplay token to camel-keycloak protected route
-
ExecutionMissing IS_ACTIVE check accepts stale token
-
ImpactGain unauthorized access to route resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires that the target deploy a Camel route using the camel-keycloak component's KeycloakSecurityHelper.parseAndVerifyAccessToken to authenticate inbound requests on an affected version (4.18.0-4.18.2 or 4.19.0-4.20.x). The attacker must possess an access token that has a valid signature, subject and issuer for that Keycloak realm but is outside its validity window (expired or not-yet-valid) - i.e., a legitimately issued token that has since expired or been captured. What LIMITS exploitation: the attacker cannot forge a token (signature and issuer are still verified), so they must first acquire a genuine token via leakage, interception, or reuse of an old session; deployments not using this helper, or using it with independent gateway/resource-server token validation, are not exploitable. |
| Impact | The NVD CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) overstates real-world urgency for this class of flaw. Exploitation is not truly precondition-free: an attacker must first obtain a Keycloak access token that was legitimately issued for the protected route, then keep using it after it expires - the vulnerability extends the useful lifetime of already-issued or leaked tokens rather than granting fresh access from nothing. This aligns with the low EPSS score (0.15%, 5th percentile) and the absence of KEV listing or public POC, implying no automated mass-exploitation path. Net priority: patch promptly where camel-keycloak authenticates routes, but treat this as a token-hygiene/window-extension weakness, not a wormable pre-auth RCE despite the 9.8. State the tension explicitly: CVSS marks PR:N and A:H, yet the described impact is unauthorized access via a stale token (an authentication weakness) whose availability impact is indirect - verify the A:H rating against your actual route behavior. |
| Exploit ScenarioDerived | An attacker who has captured or otherwise obtained a legitimate Keycloak access token - for example from application logs, a browser cache, an intercepted request, or an old session - replays that token against a Camel route protected by KeycloakSecurityHelper after the token's expiry time has passed. Because the IS_ACTIVE check is missing, the route accepts the stale token and grants access as if it were still valid. No public exploit code is identified, and the attack is a straightforward token replay requiring no special tooling once a token is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 06, 2026
Authentication token-lifetime bypass in the Apache Camel Keycloak component (camel-keycloak) affects versions 4.18.0-4.18.2 and 4.19.0-4.20.x, allowing expired or not-yet-valid Keycloak access tokens to be accepted as valid. The KeycloakSecurityHelper builds its TokenVerifier via withChecks() with only subject and issuer checks, so Keycloak's IS_ACTIVE exp/nbf validation is never installed, and any route relying on this helper will trust tokens outside their intended lifetime. NVD scores it CVSS 9.8, though EPSS is low (0.15%, 5th percentile) and there is no public exploit identified at time of analysis.
Earlier versions of this analysis (2)
Authentication bypass via expired-token acceptance in the Apache Camel camel-keycloak component (4.18.0-4.18.2 and 4.19.0-4.20.x) lets attackers reuse Keycloak access tokens that are expired or not-yet-valid against routes protected by KeycloakSecurityHelper. The helper verifies signature, subject and issuer but never installs Keycloak's IS_ACTIVE check, so the exp/nbf validity window is ignored. Rated CVSS 9.8 by Apache, but EPSS is low (0.15%, 5th percentile), no public exploit is identified at time of analysis, and the flaw is not in CISA KEV.
Expired Keycloak access tokens bypass authentication in Apache Camel's camel-keycloak component (versions 4.18.0-4.18.2 and 4.19.0-4.20.x) because KeycloakSecurityHelper.parseAndVerifyAccessToken omits Keycloak's built-in IS_ACTIVE temporal validity predicate. An attacker in possession of a legitimately-issued but expired - or not-yet-valid - Keycloak access token can authenticate to protected Camel routes indefinitely, effectively nullifying token expiration controls. No CVSS score has been published and no public exploit has been identified at time of analysis; exploitation is bounded by the requirement to first obtain a real token.
RemediationAI
Vendor-released patch: upgrade to Apache Camel 4.21.0; deployments on the 4.18.x stream should upgrade to 4.18.3. The fix restores the TokenVerifier.IS_ACTIVE check in KeycloakSecurityHelper.parseAndVerifyAccessToken so expired and not-yet-valid access tokens are rejected, aligning the helper with Keycloak's default check set. For deployments that cannot upgrade immediately, validate the access token's exp/nbf claims directly in the route before trusting it (closes the exact gap but requires custom code), keep Keycloak realm access-token lifetimes short to shrink the abuse window (trade-off: more frequent token refresh/re-authentication load), and ensure any upstream API gateway or downstream resource server independently validates the token validity window so the Camel helper is not the sole enforcement point. See https://camel.apache.org/security/CVE-2026-46455.html.
Affected VersionsENISA
Affected Packages
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
Apache Camel is a Java enterprise integration framework; the camel-keycloak component (introduced in the 4.18 line) provides Keycloak-based authentication for inbound route requests. The root cause is CWE-613 (Insufficient Session Expiration): Keycloak's org.keycloak.TokenVerifier.withChecks(...) appends predicates to an initially empty check list rather than augmenting the defaults, which are only added by withDefaultChecks(). Because KeycloakSecurityHelper.parseAndVerifyAccessToken supplies only the subject-exists and realm-URL (issuer) checks, the built-in IS_ACTIVE predicate that evaluates the JWT 'exp' (expiration) and 'nbf' (not-before) claims is silently omitted. The token signature, subject and issuer are still validated correctly, so cryptographic trust is intact - only the temporal validity window goes unenforced.
Know when Apache Camel 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AC:H because the attacker must first obtain a genuine expired/not-yet-valid token; PR:N since no live credentials are checked; A:N as the impact is unauthorized access, not availability loss.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.org
Insufficient Session Expiration vulnerability in Apache Camel Keycloak Component.
The 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. This issue affects Apache Camel: from 4.18.0 before 4.18.3, from 4.19.0 before 4.21.0.
Users 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.
Blast Radius
ecosystem impact- 4 maven packages depend on org.apache.camel:camel-keycloak (2 direct, 2 indirect)
Ecosystem-wide dependent count for version 4.18.0.
Executive ViewAI
Apache Camel's Keycloak authentication component (versions 4.18.0-4.18.2 and 4.19.0-4.20.x) fails to validate token expiration, allowing attackers to bypass authentication using expired tokens. Organizations using this integration for API access control face immediate risk of unauthorized access to protected resources. With a critical CVSS score of 9.8 and a vendor-released patch available, remediation is both urgent and achievable.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Camel
View allRemote code execution in Apache Camel's camel-coap component (versions 4.14.0-4.14.5, 4.18.0 before 4.18.1, and 4.19.0)
Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS
Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1
Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag
Header-filter bypass in the Apache Camel Undertow component (4.11.0-4.14.8, 4.15.0-4.18.3, and 4.19.0-4.21.x) lets remot
Remote code execution in Apache Camel 3.18.0-4.14.5 and 4.15.0-4.18.1 stems from CXF and Knative HeaderFilterStrategy im
Message header injection in Apache Camel's camel-mail component (3.0.0 before 4.14.6 and 4.15.0 before 4.18.1) lets an a
Path traversal in Apache Camel's remote-file consumers (including the azure-files component) lets a directory-listing en
Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct
Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem
Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and
Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)
EUVD-2026-41829
GHSA-mqwc-6qwc-v9gq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB