Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46455: CWE-613 Insufficient Session Expiration in Apache Software Foundation Apache Camel

0
High
VulnerabilityCVE-2026-46455cvecve-2026-46455cwe-613
Published: 07/06/2026 (07/06/2026, 07:56:29 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel

Description

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.

Affected software

Apache Software Foundation/org.apache.camel:camel-keycloak
pkg:maven/Apache Software Foundation/org.apache.camel:camel-keycloak
Affected versions
>=4.18.0 <4.18.3>=4.19.0 <4.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 09:21:20 UTC

Technical Analysis

The vulnerability in Apache Camel's KeycloakSecurityHelper.parseAndVerifyAccessToken method arises because it builds a Keycloak TokenVerifier with only subject-exists and issuer checks, omitting the IS_ACTIVE check that validates token expiration (exp) and not-before (nbf) claims. Consequently, tokens outside their valid time window are accepted as valid, potentially allowing unauthorized access. This affects Apache Camel versions 4.18.0 before 4.18.3 and 4.19.0 before 4.21.0. The fix, introduced in 4.18.3 and 4.21.0, adds the IS_ACTIVE check to enforce token validity windows. Users are advised to upgrade or implement external validation of token expiration and keep token lifetimes short as a temporary mitigation.

Potential Impact

Access tokens that are expired or not yet valid can be accepted as valid by affected versions of Apache Camel's Keycloak component. This may allow unauthorized access to routes relying on this helper for authentication, potentially bypassing intended session expiration controls.

Mitigation Recommendations

A fix is available in Apache Camel versions 4.18.3 and 4.21.0. Users should upgrade to these versions to ensure token expiration and not-before claims are properly enforced. For deployments unable to upgrade immediately, it is recommended to enforce token expiration validation externally, such as validating the exp and nbf claims in the route before trusting the token, keeping Keycloak access-token lifetimes short, and ensuring any upstream gateway or resource server also validates token validity windows.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-05-14T08:55:41.867Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4b6cac27e9c7971925229b

Added to database: 07/06/2026, 08:51:56 UTC

Last enriched: 07/06/2026, 09:21:20 UTC

Last updated: 07/06/2026, 10:25:17 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses