Technical impact
When Apache Camel Keycloak security policy uses token introspection, the component caches the result and only checks the active flag, never the explicit expiration time, for up to the configured TTL. A token that is still active when cached can be accepted for up to minutes after its real exp has passed, allowing the bearer to continue using the same roles and permissions. This does not provide token forgery or privilege escalation, but it breaks the expected enforcement of token lifespan and weakens session validity controls.
Affected Systems
Apache Camel component versions from 4.16.0 through 4.18.4, from 4.19.0 through 4.22.1 are affected. The component lines 4.16.x‑4.18.x and 4.19.x‑4.21.x have reached end‑of‑life and will not receive a fix, so users must migrate to a supported release such as 4.23.0, or, for the 4.22.x and 4.18.x streams, upgrade to 4.22.2 or 4.18.5 respectively.
Risk and Exploitability
The CVSS score of 4.8 indicates medium severity. EPSS is not available, and the issue is not listed in CISA KEV, so the likelihood of widespread exploitation is currently unquantified. Attackers would need to possess a valid access token and be able to send authenticated requests; the vulnerability allows them to reuse that token after its expiration for a limited period bounded by the caching TTL. Because the window is small and the vulnerability does not provide escape from existing permissions, risk is moderate but non‑negligible for systems relying heavily on strict session expiration.