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
CVE-2026-66908 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 8.2 (Red Hat), 7.5 (Apache)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N· base score 7.5, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: high. Availability impact: none.- Weakness
- CWE-287 Improper Authentication
- EPSS
- 0.61% chance of exploitation in the next 30 days (43rd percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- Fixed releases
- Apache: 4.22.0, 4.21.0
- Red Hat: RHSA-2026:71675
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-66908; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2026-66908?
You are affected if you run Apache Camel Platform, Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16 at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Apache: 4.8.0 before 4.22.0 | 4.22.0, 4.21.0 |
| Red Hat: < 4.8.0 | No fixed release on this branch listed by the vendor |
| Red Hat: < 4.22.0 | No fixed release on this branch listed by the vendor |
| Red Hat: < 4.21.0 | No fixed release on this branch listed by the vendor |
| Red Hat: 4.21 | No fixed release on this branch listed by the vendor |
Also listed as fixed: Red Hat: RHSA-2026:71675
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-66908?
Upgrade to a fixed release named by the vendor:
- Apache: 4.22.0, 4.21.0
- Red Hat: RHSA-2026:71675
- Users are recommended to upgrade to version 4.22.0, which fixes the issue. (Apache)
- 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. (Apache)
- Upstream fix: 4.22.0, 4.14, 4.18, 4.14.9, 4.18.4 (released upstream; not a Red Hat package). (Red Hat)
Vendor advisories for CVE-2026-66908
Apache
1 advisory- Advisory severityHigh7.5
High [CVE-2026-66908] Improper Authentication vulnerability in Apache Camel Platform HTTP Main component
CVE-2026-66908Source published Source updated
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…
- Affected products in this advisory
- Apache Camel Platform
- Source-reported affected versions
- 4.8.0 before 4.22.0
- Source-reported fixed versions
- 4.22.0
- 4.21.0
- Mitigation guidance
- Users are recommended to upgrade to version 4.22.0, which fixes the issue.
- 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.
- Workarounds
- 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.
Red Hat
1 advisory- Advisory severityHigh8.2
High [CVE-2026-66908] org.apache.camel/camel-platform-http-main: org.apache.camel/camel-main: Apache Camel: Improper authentication allows JWT bypass in Platform HTTP Main component
CVE-2026-66908Source published Source updated
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…
- Affected products in this advisory
- Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16
- Source-reported affected versions
- < 4.8.0
- < 4.22.0
- < 4.21.0
- 4.21
- Source-reported fixed versions
- RHSA-2026:71675
- Mitigation guidance
- Upstream fix: 4.22.0, 4.14, 4.18, 4.14.9, 4.18.4 (released upstream; not a Red Hat package).
References
- CVE-2026-66908 recordCVE.org
- CVE-2026-66908 detailNVD
- camel.apache.org/security/CVE-2026-66908.htmlvendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-140880Dec 1, 2026Apache Karaf: Incorrect Authorization vulnerability in the config serviceCVE-2026-134135Dec 1, 2026Apache TinkerPop: gremlin-server: Unsafe Deserialization in GraphSON and GraphBinaryCVE-2026-74249Dec 1, 2026Apache TinkerPop denial of serviceCVE-2026-90640Dec 1, 2026Apache OpenOffice: Local file disclosure via SVG and HTML file:// referencesCVE-2026-120351Nov 30, 2026Apache Airflow: Asset events API discloses Dag runs of Dags the user is notCVE-2026-138277Nov 30, 2026Apache Commons BCEL cross-site scripting (XSS)
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).