# CVE-2026-66908: Apache Camel: Camel-platform-http-main: when JWT authentication was configured with a keystore but no issuer or audience, the iss and aud claims were never validated, so any unexpired token signed by a trusted key was accepted

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.61% (percentile 43, 2026-11-26)
- **CWE:** CWE-287
- **Aliases:** GHSA-fpm2-m4qq-wghr
- **Published:** 2026-08-24T16:14:18.202Z
- **Modified:** 2026-10-24T16:10:00.153Z

## Who should check

- Projects that depend on Maven package org.apache.camel:camel-platform-http-main (\>= 4.8.0, \< 4.22.0)
- Anyone running Apache Software Foundation Apache Camel \>= 4.8.0, \< 4.22.0

## 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.

## Affected and fixed versions

- Maven `org.apache.camel:camel-platform-http-main`: affected \>= 4.8.0, \< 4.22.0; fixed 4.22.0 (osv)
- Apache Software Foundation Apache Camel: \>= 4.8.0, \< 4.22.0 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-66908. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-66908.md
Affected: org.apache.camel:camel-platform-http-main >= 4.8.0, < 4.22.0
Fixed in: 4.22.0

Steps:
1. Search this machine and project for org.apache.camel:camel-platform-http-main (Maven), Apache Software Foundation Apache Camel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-66908 being exploited?

There is no confirmed exploitation: CVE-2026-66908 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-66908?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-66908?

org.apache.camel:camel-platform-http-main \>= 4.8.0, \< 4.22.0.

### Is there a fix for CVE-2026-66908?

Yes. Fixed in 4.22.0. Upgrade org.apache.camel:camel-platform-http-main to 4.22.0 or later.

### How do I check if I'm affected by CVE-2026-66908?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://camel.apache.org/security/CVE-2026-66908.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-66908>
- patch: <https://github.com/apache/camel/pull/25187>
- patch: <https://github.com/apache/camel/pull/25195>
- patch: <https://github.com/apache/camel/pull/25196>
- patch: <https://github.com/apache/camel/commit/23c6bbf0e026277f03732481f780b9f18044792b>
- patch: <https://github.com/apache/camel/commit/4dbb9387102c102ab207e61c8307a3eaaeec7fcf>
- patch: <https://github.com/apache/camel/commit/a69ff2b4504f9f10d6af6c6837142da6f076bdeb>
- other: <http://www.openwall.com/lists/oss-security/2026/08/24/12>
- other: <https://github.com/apache/camel>
- other: <https://github.com/apache/camel/releases/tag/camel-4.22.0>
- other: <https://issues.apache.org/jira/browse/CAMEL-24281>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-66908>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fpm2-m4qq-wghr> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-66908> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-66908>
