8.2high
Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
- Severity
- 8.2high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.07% (higher than 64% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-27vm-5vpj-rp5g
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.camel:camel-platform-http-main | from 4.14.1 before 4.14.6, from 4.18.0 before 4.18.2 | CVE List |
| camel-http | Not specified | CVE List |
| camel | Not specified Not affected: from http-base before *, from http-common before *, from http-starter before * | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9 | Not specified | CVE List |
| camel-http-base | Not specified | CVE List |
| camel-http-common | Not specified | CVE List |
| camel-http4 | Not specified | CVE List |
| camel-http4-starter | Not specified | CVE List |
| camel-http-common-starter | Not specified | CVE List |
| camel-http-starter | Not specified | CVE List |
| 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 | GitHub Advisory Database |
| apache camel | from 4.14.1 before 4.14.6, from 4.15.0 before 4.18.2 | NVD |
All scores
| CISA-ADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| redhat-SADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Cuando la autenticación está habilitada en el servidor HTTP embebido de Apache Camel o en el servidor de gestión embebido (camel-platform-http-main) y se configura una ruta de contexto no raíz como /api o /admin a través de camel.server.path o camel.management.path, las clases BasicAuthenticationConfigurer y JWTAuthenticationConfigurer derivan la ruta de autenticación de properties.getPath() cuando camel.server.authenticationPath / camel.management.authenticationPath no está configurado explícitamente. Combinado con el modelo de montaje de sub-router de Vert.x - el sub-router se monta en _path_* y el gestor de autenticación se registra dentro del sub-router en la ruta resuelta - esto hace que el gestor de autenticación coincida solo con la ruta de contexto configurada exactamente, no con sus subrutas. Las solicitudes no autenticadas a subrutas como /api/_route_ o /admin/observe/info, por lo tanto, alcanzan rutas de negocio protegidas y puntos finales de gestión sin que se les soliciten credenciales. El punto final /observe/info puede divulgar metadatos en tiempo de ejecución como el usuario, el directorio de trabajo, el directorio de inicio, el ID del proceso, la JVM y la información del sistema operativo. Este problema afecta a Apache Camel: desde 4.14.1 antes de 4.14.6, desde 4.18.0 antes de 4.18.2. Se recomienda a los usuarios actualizar a la versión 4.20.0, que soluciona el problema. Si los usuarios están en la rama de versiones LTS 4.14.x, se les sugiere actualizar a 4.14.6. Si los usuarios están en la rama de versiones LTS 4.18.x, se les sugiere actualizar a 4.18.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40022 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-27vm-5vpj-rp5g changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-40022 changed 2026-10-26 | Public domain |