CVE-2026-40022
published high CVSS 3.1 · 8.2Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.camel:camel-platform-http-mainApache Camel Platform HTTP Main · 4.14.1 to < 4.14.6 · 4.18.0 to < 4.18.2 · Other versions: unaffected | Affected | Not stated | apache |
| Red Hat | — | camel-httpRed Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camelRed Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 · http-base and later · http-common and later · http-starter and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9OpenShift Serverless | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-httpRed Hat build of Apache Camel 4 for Quarkus 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-baseRed Hat build of Apache Camel 4 for Quarkus 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-commonRed Hat build of Apache Camel 4 for Quarkus 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-httpRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http4Red Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http4-starterRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-baseRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-commonRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-common-starterRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-starterRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-httpRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-baseRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-commonRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-httpRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-baseRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-commonRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-commonRed Hat Process Automation 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | camel-http-commonRed Hat Single Sign-On 7 | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in the Apache Camel embedded HTTP server and embedded management server (camel-platform-http-main). When authentication is enabled and a non-root context path is configured, the authentication handler incorrectly matches only the exact configured path, not its subpaths. This allows a remote, unauthenticated attacker to bypass authentication and access protected business routes and management endpoints. Specifically, the `/observe/info` endpoint can disclose sensitive runtime metadata, including user, working directory, process ID, and operating system information.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Camel Platform HTTP Main | 4.14.1 to < 4.14.6 (affected · semver)4.18.0 to < 4.18.2 (affected · semver)Default: unaffected | apache · cna |
| Red Hat | Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | http-base and later (unaffected · rpm)http-common and later (unaffected · rpm)http-starter and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel 4 for Quarkus 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel 4 for Quarkus 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel 4 for Quarkus 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Process Automation 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-288 CWE-288 Authentication Bypass Using an Alternate Path or Channel
- CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
References
6- http://www.openwall.com/lists/oss-security/2026/04/26/5
- https://access.redhat.com/errata/RHSA-2026:17668
- https://access.redhat.com/security/cve/CVE-2026-40022
- RHBZ#2463178 https://bugzilla.redhat.com/show_bug.cgi?id=2463178
- https://camel.apache.org/security/CVE-2026-40022.html
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40022.json
Provider assertions
4apache · cna
Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
redhat-SADP · adp
camel-http: Apache Camel: Information disclosure and authentication bypass in embedded HTTP/management servers
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 638b69a35dcc5e80a92f42f4a97ca2303dc4eab875efd6626e10fcd908e64ecb
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record