Improper Authentication Affecting org.apache.camel:camel-platform-http-main package, versions [4.8.0,4.22.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (34th 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-19350293
  • published27 Aug 2026
  • disclosed24 Aug 2026
  • creditn0mi1k

Introduced: 24 Aug 2026

NewCVE-2026-66908  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-platform-http-main to version 4.22.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication via the JWTAuthenticationConfigurer in components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/authentication/JWTAuthenticationConfigurer.java. An attacker can gain unauthorized access by sending any unexpired JWT signed by a key trusted by the configured keystore, even if the token was minted for a different issuer or audience. When jwtIssuer and jwtAudience were both unset, the embedded HTTP server and the management server accepted tokens after only signature and expiry checks, so the iss and aud claims were never enforced. This can let a foreign token authenticate successfully and expose protected platform HTTP endpoints and management endpoints to requests that should have been rejected.

Workarounds

  • Configure camel.server.jwtIssuer and/or camel.server.jwtAudience for the embedded HTTP server so tokens are validated for the expected iss and aud claims, which prevents acceptance of foreign JWTs signed by a trusted keystore key.
  • Configure camel.management.jwtIssuer and/or camel.management.jwtAudience for the embedded management server so tokens are validated for the expected iss and aud claims, which prevents acceptance of foreign JWTs on management endpoints.
  • If you intentionally rely on signature-and-expiry-only validation, set camel.server.jwtAllowMissingIssuerAndAudience=true or camel.management.jwtAllowMissingIssuerAndAudience=true explicitly so the server starts with that reduced validation model; this avoids accidental deployment with weaker JWT checks than intended.

CVSS Base Scores

version 4.0
version 3.1