Apache Camel: KeycloakSecurityPolicy does not validate issuer of JWT tokens against configured realm
Critical severity
GitHub Reviewed
Published
Feb 23, 2026
to the GitHub Advisory Database
•
Updated Feb 25, 2026
Package
Affected versions
>= 4.15.0, < 4.18.0
Patched versions
4.18.0
Description
Published by the National Vulnerability Database
Feb 23, 2026
Published to the GitHub Advisory Database
Feb 23, 2026
Reviewed
Feb 25, 2026
Last updated
Feb 25, 2026
Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy Apache Camel Keycloak component.
The Camel-Keycloak KeycloakSecurityPolicy does not validate the iss (issuer) claim of JWT tokens against the configured realm. A token issued by one Keycloak realm is silently accepted by a policy configured for a completely different realm, breaking tenant isolation.
This issue affects Apache Camel: from 4.15.0 before 4.18.0.
Users are recommended to upgrade to version 4.18.0, which fixes the issue.
References