CVE-2026-40022
Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
Also known as GHSA-27vm-5vpj-rp5g
Mitigation
- Upgrade org.apache.camel:camel-platform-http-main to one of 4.14.6, 4.18.2, 4.20.0 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.camel:camel-platform-http-main (>= 4.14.1, < 4.14.6)
- Anyone running Apache Software Foundation Apache Camel Platform HTTP Main >= 4.14.1, < 4.14.6; >= 4.18.0, < 4.18.2
Vulnerability facts
- Affected
- org.apache.camel:camel-platform-http-main >= 4.14.1, < 4.14.6
- Fixed in
- 4.14.6, 4.18.2, 4.20.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.07% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-288
- Modified
Description
When authentication is enabled on the Apache Camel embedded HTTP server or embedded management server (camel-platform-http-main) and a non-root context path such as /api or /admin is configured via camel.server.path or camel.management.path, the BasicAuthenticationConfigurer and JWTAuthenticationConfigurer classes derive the authentication path from properties.getPath() when camel.server.authenticationPath / camel.management.authenticationPath is not explicitly set. Combined with the Vert.x sub-router mounting model - the sub-router is mounted at _path_* and the authentication handler is registered inside the sub-router at the resolved path - this causes the authentication handler to match only the exact configured context path, not its subpaths. Unauthenticated requests to subpaths such as /api/_route_ or /admin/observe/info therefore reach protected business routes and management endpoints without being challenged for credentials. The /observe/info endpoint can disclose runtime metadata such as the user, working directory, home directory, process ID, JVM and operating system information. This issue affects Apache Camel: from 4.14.1 before 4.14.6, from 4.18.0 before 4.18.2. Users are recommended to upgrade to version 4.20.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, they are suggested to upgrade to 4.14.6. If users are on the 4.18.x LTS releases stream, they are suggested to upgrade to 4.18.2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.camel:camel-platform-http-main | >= 4.14.1, < 4.14.6 | 4.14.6, 4.18.2, 4.20.0 | osv |
| Apache Software Foundation Apache Camel Platform HTTP Main | >= 4.14.1, < 4.14.6; >= 4.18.0, < 4.18.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-40022. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-40022.md Affected: org.apache.camel:camel-platform-http-main >= 4.14.1, < 4.14.6 Fixed in: 4.14.6, 4.18.2, 4.20.0 Steps: 1. Search this machine and project for org.apache.camel:camel-platform-http-main (Maven), Apache Software Foundation Apache Camel Platform HTTP Main: 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.
References
Vendor advisories
Patches
- https://github.com/apache/camel/pull/22474
- https://github.com/apache/camel/pull/22475
- https://github.com/apache/camel/pull/22476
- https://github.com/apache/camel/commit/6ec12cbebfc1b6360cdaac1c1f8c681864911695
- https://github.com/apache/camel/commit/7b5b8c0283c0ab8d703d868ded7614018762a553
- https://github.com/apache/camel/commit/a9ebee94af976ac2afd7906d2e76673067d8be86
FAQ
Is CVE-2026-40022 being exploited?
There is no confirmed exploitation: CVE-2026-40022 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.07% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-40022?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-40022?
org.apache.camel:camel-platform-http-main >= 4.14.1, < 4.14.6.
Is there a fix for CVE-2026-40022?
Yes. Fixed in 4.14.6, 4.18.2, 4.20.0. Upgrade org.apache.camel:camel-platform-http-main to one of 4.14.6, 4.18.2, 4.20.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-40022?
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.