CVE-2026-40022

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

Configuration 1 (hide)

OR cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (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.

Information

Published : 2026-04-27 10:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-40022

Mitre link : CVE-2026-40022

CVE.ORG link : CVE-2026-40022


JSON object : View

Products Affected

apache

  • camel
CWE
CWE-288

Authentication Bypass Using an Alternate Path or Channel

CWE-551

Incorrect Behavior Order: Authorization Before Parsing and Canonicalization