CVE-2026-66908
Received Received - Intake

Improper Authentication in Apache Camel Platform HTTP

Vulnerability report for CVE-2026-66908, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-24

Last updated on: 2026-08-24

Assigner: Apache Software Foundation

Description

Improper Authentication vulnerability in Apache Camel Platform HTTP Main component. This issue affects Apache Camel: from 4.8.0 before 4.22.0. The camel-main embedded HTTP server can protect its endpoints with JWT authentication, configured through authenticationEnabled together with the JWT keystore properties. JWTAuthenticationConfigurer.buildJwtOptions returned null when neither jwtIssuer nor jwtAudience was configured, and the caller then skipped the JWTAuthOptions.setJWTOptions call entirely, so the Vert.x JWTAuth instance was built from the keystore alone. The result was that inbound tokens were checked only for signature and expiry: the iss and aud claims were not validated at all. Nothing signalled this - the server started normally and reported no warning - so a deployment configured the documented way silently enforced less than the operator believed it had enabled, and the component documentation itself presented signature and expiry checking as the default with issuer and audience as an optional extra. Both the application server and the management server were affected, because the omission was in each of the two configureAuthentication paths. Any unexpired token signed by any key the configured keystore trusts was therefore accepted, regardless of which issuer minted it or which audience it was intended for. How far that reaches depends on the trust set of the keystore: where the signing key belongs to a shared or multi-tenant identity provider, a token legitimately issued for an entirely different audience is accepted, while a keystore holding a dedicated signer narrows it to reuse of tokens minted for other services within the same trust domain. The jwtIssuer and jwtAudience options did not exist before 4.21.0, so on earlier releases there was no supported way to have these claims enforced at all. Users are recommended to upgrade to version 4.22.0, which fixes the issue. From 4.22.0 the server refuses to start when a JWT keystore is configured but neither jwtIssuer nor jwtAudience is set, naming the properties involved, and a deployment that genuinely wants signature and expiry validation only must say so explicitly with the new jwtAllowMissingIssuerAndAudience option, which defaults to false. This behaviour is fixed only on 4.22.0. The 4.14.9 and 4.18.4 releases do not change the default: they add the jwtIssuer and jwtAudience options so that operators on those maintenance lines can enforce the claims by configuration, and an installation that upgrades to 4.14.9 or 4.18.4 without also setting at least one of those two properties is still accepting any unexpired token signed by a trusted key. Users on 4.14.x or 4.18.x should therefore upgrade to 4.14.9 or 4.18.4 and then set jwtIssuer, jwtAudience, or both. Releases from 4.8.0 up to and including 4.21.x offer no way to enforce these claims and should be moved to a version that does. Independently of version, restrict the JWT keystore to the smallest possible trust set - ideally a signer dedicated to this service rather than a shared identity-provider key - and where a gateway already validates issuer and audience in front of the server, ensure it cannot be bypassed. Notes: The JIRA ticket:Β  https://issues.apache.org/jira/browse/CAMEL-24281 Β refers to the various commits that resolved the issue, and has more details. The fail-closed guard could not be backported. The jwtIssuer and jwtAudience options were themselves only introduced in 4.21.0 by CAMEL-23525, so on camel-4.18.x and camel-4.14.x there was nothing an operator could set to satisfy the requirement and the guard would have broken every JWT deployment on those branches with no remedy available.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-24
Last Modified
2026-08-24
Generated
2026-08-24
AI Q&A
2026-08-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
apache camel 4.8.0
apache camel 4.22.0
apache camel 4.14.9
apache camel 4.18.4
apache camel 4.21.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an Improper Authentication issue in Apache Camel Platform HTTP Main component. When JWT authentication was configured with a keystore but without specifying issuer or audience, the system failed to validate the iss and aud claims in tokens. This allowed any unexpired token signed by a trusted key to be accepted regardless of its issuer or intended audience.

Detection Guidance

To detect this vulnerability, check Apache Camel version with: 'camel-main --version' or inspect your application's dependency tree. If running versions 4.8.0 through 4.21.x, the system is vulnerable. Verify JWT configuration by checking if jwtIssuer or jwtAudience is set. If neither is configured with a keystore, the vulnerability exists.

Impact Analysis

An attacker could use a token signed by any trusted key to gain unauthorized access to the system. The impact depends on the keystore's trust set: shared identity providers allow tokens from different issuers, while dedicated signers limit misuse to tokens from other services in the same trust domain.

Compliance Impact

This vulnerability could undermine compliance with GDPR and HIPAA by allowing unauthorized access to sensitive data. Without proper issuer and audience validation, tokens from untrusted sources may be accepted, potentially violating data protection requirements that mandate strict authentication controls.

Mitigation Strategies

Upgrade to Apache Camel version 4.22.0 or later. If using 4.14.x or 4.18.x, upgrade to 4.14.9 or 4.18.4 respectively and configure jwtIssuer or jwtAudience settings. Restrict the JWT keystore to the smallest possible trust set.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-66908. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart