# CVE-2026-40022: Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime

- Severity: High 8.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 64% of CVEs (2026-11-30)
- Published: 2026-04-27T09:40:28.107Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-27vm-5vpj-rp5g
- Weaknesses: CWE-288, CWE-551
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.camel:camel-platform-http-main: from 4.14.1 before 4.14.6; from 4.18.0 before 4.18.2
- camel-http: no versions given
- camel: no versions given (not affected: from http-base before *; from http-common before *; from http-starter before *)
- openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9: no versions given
- openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9: no versions given
- camel-http-base: no versions given
- camel-http-common: no versions given
- camel-http4: no versions given
- camel-http4-starter: no versions given
- camel-http-common-starter: no versions given
- camel-http-starter: no versions given
- org.apache.camel:camel-platform-http-main (Maven): from 4.14.1 before 4.14.6; from 4.18.0 before 4.18.2; from 4.19.0 before 4.20.0
- apache camel: from 4.14.1 before 4.14.6; from 4.15.0 before 4.18.2

## Every score

- CISA-ADP: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- redhat-SADP: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://camel.apache.org/security/CVE-2026-40022.html> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/04/26/5> (mailing-list, third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-40022> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2463178> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40022.json>
- <https://access.redhat.com/errata/RHSA-2026:17668> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40022> (advisory)
- <https://github.com/apache/camel/pull/22474> (web)
- <https://github.com/apache/camel/pull/22475> (web)
- <https://github.com/apache/camel/pull/22476> (web)
- <https://github.com/apache/camel/commit/6ec12cbebfc1b6360cdaac1c1f8c681864911695> (web)
- <https://github.com/apache/camel/commit/7b5b8c0283c0ab8d703d868ded7614018762a553> (web)
- <https://github.com/apache/camel/commit/a9ebee94af976ac2afd7906d2e76673067d8be86> (web)
- <https://github.com/apache/camel> (package)

## Sources

- CVE List: [CVE-2026-40022](https://www.cve.org/CVERecord?id=CVE-2026-40022), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-27vm-5vpj-rp5g](https://github.com/advisories/GHSA-27vm-5vpj-rp5g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-40022](https://nvd.nist.gov/vuln/detail/CVE-2026-40022), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40022 · Whole record: https://cve.day/CVE-2026-40022.json · Rebuilt by cve.day 2026-11-25T22:59:19.648Z
