All vulnerabilities

Maven

CVE-2026-95663

Apache Camel: Camel-Keycloak Security Policy Accepts Expired Access Tokens Because Cached Token Introspection Results Are Not Bounded by the Token Expiry

Severity
Medium 4.8
Published
26 Oct 2026
Last changed
2 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.18.5, 4.22.2
Exploit chance
1% in the next 30 daysHigher than 62% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Insufficient session expiration (CWE-613)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Sources
CVE Program

Description

Insufficient Session Expiration vulnerability in Apache Camel Keycloak component.

This issue affects Apache Camel: from 4.16.0 before 4.18.5, from 4.19.0 before 4.22.2.

When token introspection is enabled on the camel-keycloak KeycloakSecurityPolicy (useTokenIntrospection=true), the security processor validates the access token of a request by sending it to Keycloak's OAuth 2.0 token introspection endpoint, and accepts the token while the response reports it as active. The introspection endpoint reports a token as inactive once its exp (expiration) time has passed, so on this path the active flag is what enforces token expiry. Introspection results are cached by default (introspectionCacheEnabled=true, introspectionCacheTtl=60 seconds), and both cache implementations shipped with the component, ConcurrentMapTokenCache and CaffeineTokenCache, expired an entry a fixed time after it was inserted, without bounding that lifetime by the exp claim that the cached response already carried.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.camel:camel-keycloakMaven · osv:Maven:org.apache.camel:camel-keycloak
  • From 4.16.0 before 4.18.5
  • From 4.19.0 before 4.22.2

About org.apache.camel:camel-keycloak

This is the only vulnerability in org.apache.camel:camel-keycloak in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-95663