Skip to main content

Apache Camel EUVDEUVD-2026-41829

| CVE-2026-46455 CRITICAL
Insufficient Session Expiration (CWE-613)
2026-07-06 apache GHSA-mqwc-6qwc-v9gq
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain legitimately-issued Keycloak access token
  2. Delivery
    Wait past token exp or use not-yet-valid token
  3. Exploit
    Replay token to camel-keycloak protected route
  4. Execution
    Missing IS_ACTIVE check accepts stale token
  5. Impact
    Gain 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jul 06, 2026 - 20:59 cvss changed CVSS 9.8

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.

v1 Jul 06, 2026 - 09:32

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

Apache Camel 4.18.0 <4.18.3
Apache Camel 4.19.0 <4.21.0

Affected Packages

maven org.apache.camel:camel-keycloak fix: 4.18.3, 4.21.0
euvd apache_camel fix: 4.18.3, 4.21.0

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

Vendor (apache) PRIMARY 9.8 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jul 06, 2026 - 20:59 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 06, 2026 - 20:59 vuln.today
v2 - CVSS changed
CVSS changed
Jul 06, 2026 - 20:22 NVD
9.8 (CRITICAL)
Patch available
Jul 06, 2026 - 10:01 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
Apache Camel widely used, but keycloak component is new (4.18+) and narrowly deployed
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-33453 CRITICAL POC
10.0 Apr 27

Remote 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)

CVE-2026-40858 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS

CVE-2026-78162 CRITICAL
10.0 Oct 19

Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1

CVE-2026-71300 CRITICAL
9.8 Aug 24

Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag

CVE-2026-78329 CRITICAL
9.8 Aug 24

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

CVE-2026-47323 CRITICAL
9.8 May 19

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

CVE-2026-33454 CRITICAL
9.4 Apr 27

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

CVE-2026-79986 CRITICAL
9.1 Oct 19

Path traversal in Apache Camel's remote-file consumers (including the azure-files component) lets a directory-listing en

CVE-2026-79983 CRITICAL
9.1 Oct 19

Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct

CVE-2026-88900 HIGH
8.8 Oct 19

Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem

CVE-2026-46590 HIGH
8.8 Jul 06

Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and

CVE-2026-27172 HIGH
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy