CVE-2026-40022 json
Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
published 2026-04-27 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-25807 , GHSA-27vm-5vpj-rp5g
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.camel:camel-platform-http-main 4.14.6, 4.18.2, 4.20.0
- Apache Software Foundation Apache Camel Platform HTTP Main 4.14.6, 4.18.2
- github.com/apache/camel@6ec12cb commit
- github.com/apache/camel@7b5b8c0 commit
- github.com/apache/camel@a9ebee9 commit
- github.com/apache/camel#22474 pull request
- github.com/apache/camel#22475 pull request
- github.com/apache/camel#22476 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40022 updated cvss 8.2
camel-http: Apache Camel: Information disclosure and authentication bypass in embedded HTTP/management servers
-
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14fixed: vendor fix RHSA-2026:17668
-
Red Hat OpenShift Serverless openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9, +2 more Red Hat build of Apache Camel 4 for Quarkus 3 camel-http, camel-http-base, camel-http-common Red Hat Fuse 7 camel-http, camel-http4, camel-http-base, camel-http-common, camel-http-starter, camel-http4-starter, +1 more Red Hat JBoss Enterprise Application Platform 8 camel-http, camel-http-base, camel-http-common Red Hat JBoss Enterprise Application Platform Expansion Pack camel-http, camel-http-base, camel-http-common Red Hat Process Automation 7 camel-http-commonnot affected: vulnerable code not present
+1 more productsfewer
Red Hat Single Sign-On 7 camel-http-common
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.camel:camel-platform-http-main | >=4.14.1, <4.14.6 >=4.18.0, <4.18.2 >=4.19.0, <4.20.0 |
4.14.6 4.18.2 4.20.0 |
Affected products
- Apache Software Foundation Apache Camel Platform HTTP Main
- Red Hat Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
- Red Hat OpenShift Serverless
- Red Hat Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat Red Hat Fuse 7
- Red Hat Red Hat JBoss Enterprise Application Platform 8
- Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Red Hat Process Automation 7
- Red Hat Red Hat Single Sign-On 7
Classification
- Weakness
- Technology feeds
References
-
github.com
/apache/camel/pull/22474
web
-
github.com
/apache/camel/pull/22475
web
-
github.com
/apache/camel/pull/22476
web
-
github.com
/apache/camel/commit/6ec12cbebfc1b6360cdaac1c1f8c681864911695
web
-
github.com
/apache/camel/commit/7b5b8c0283c0ab8d703d868ded7614018762a553
web
-
github.com
/apache/camel/commit/a9ebee94af976ac2afd7906d2e76673067d8be86
web
-
camel.apache.org
/security/CVE-2026-40022.html
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:17668
vendor-advisory
-
openwall.com
/lists/oss-security/2026/04/26/5
web, mailing-list, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2026-40022
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2463178
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-40022.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-40022
advisory
-
github.com
/apache/camel
package
Sources
- CVE List CVE-2026-40022
- GitHub Advisory GHSA-27vm-5vpj-rp5g
- NVD CVE-2026-40022
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.