CVE-2026-40022 Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
14 packages: 3 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat jbosseapxp | All versions | No fix listed | No fix yet |
| redhat/camel-http(Red Hat apache_camel_spring_boot 4.18) | All versions | No fix listed | No fix yet |
| redhat/camel-http-base(Red Hat apache_camel_spring_boot 4.18) | All versions | No fix listed | No fix yet |
| redhat/camel-http-common(Red Hat apache_camel_spring_boot 4.18) | All versions | No fix listed | No fix yet |
| redhat/camel-http-starter(Red Hat apache_camel_spring_boot 4.18) | All versions | No fix listed | No fix yet |
| apache camel | >= 4.14.1, < 4.14.6; >= 4.15.0, < 4.18.2 | 4.14.6, 4.18.2 | Fixed |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.14.1; = 4.14.2; = 4.14.3; = 4.14.4 +7 more | 4.14.6, 4.18.2, 4.20.0 | Fixed |
| redhat apache camel spring boot | < http-base; < http-common; < http-starter; = 4.18 | http-base, http-common, http-starter | Fixed |
| redhat camel quarkus | = 3 | No fix listed | Versions listed |
| redhat jboss enterprise application platform | = 8 | No fix listed | Versions listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed | Versions listed |
| redhat jboss fuse | = 7 | No fix listed | Versions listed |
| redhat red hat single sign on | = 7 | No fix listed | Versions listed |
| redhat serverless | = 1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel/camel-platform-http-main(Maven) | >= 4.14.1, < 4.14.6 | 4.14.6 |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.14.1 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.14.2 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.14.3 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.14.4 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.14.5 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | >= 4.18.0, < 4.18.2 | 4.18.2 |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.18.0 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.18.1 | No fix listed |
| org.apache.camel/camel-platform-http-main(Maven) | >= 4.19.0, < 4.20.0 | 4.20.0 |
| org.apache.camel/camel-platform-http-main(Maven) | = 4.19.0 | No fix listed |
| redhat apache camel spring boot | = 4.18 | No fix listed |
| redhat apache camel spring boot | < http-base | http-base |
| redhat apache camel spring boot | < http-common | http-common |
| redhat apache camel spring boot | < http-starter | http-starter |
| redhat serverless | = 1 | No fix listed |
| redhat camel quarkus | = 3 | No fix listed |
| redhat jboss fuse | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed |
| redhat red hat single sign on | = 7 | No fix listed |
| redhat/camel-http(Red Hat:apache_camel_spring_boot:4.18) | All versions | No fix listed |
| redhat/camel-http-base(Red Hat:apache_camel_spring_boot:4.18) | All versions | No fix listed |
| redhat/camel-http-common(Red Hat:apache_camel_spring_boot:4.18) | All versions | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/camel-http-starter(Red Hat:apache_camel_spring_boot:4.18) | All versions | No fix listed |
| apache camel | >= 4.14.1, < 4.14.6 | 4.14.6 |
| apache camel | >= 4.15.0, < 4.18.2 | 4.18.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- camel.apache.org vendor-advisory
- github.com product
- www.openwall.com mailing-list third-party-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2463178 issue-tracking
- security.access.redhat.com
- RHSA-2026:17668 patch vendor-advisory
- github.com
- www.cve.org