Improper Authentication Affecting org.apache.camel:camel-keycloak package, versions [4.15.0,4.18.3)[4.19.0,4.21.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.75% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-17874454
  • published7 Jul 2026
  • disclosed6 Jul 2026
  • creditLidor Ben Shitrit

Introduced: 6 Jul 2026

CVE-2026-53913  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-keycloak to version 4.18.3, 4.21.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication in the KeycloakSecurityPolicy process. An attacker can gain unauthorized access to protected routes by supplying any non-null value in the Authorization: Bearer header, which is accepted without cryptographic verification of the token's validity. This can lead to unauthenticated access to server-side operations, and in cases where the protected route forwards to a code-execution-capable producer, it may result in unauthenticated remote code execution.

Workaround

This vulnerability can be mitigated by configuring a non-empty requiredRoles or requiredPermissions on every KeycloakSecurityPolicy, setting allowTokenFromHeader to false where the token is not expected from the request header, or performing token verification at the framework layer ahead of the policy.

CVSS Base Scores

version 4.0
version 3.1