CVE-2026-40022: CWE-288 Authentication Bypass Using an Alternate Path or Channel in Apache Software Foundation Apache Camel Platform HTTP Main
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.
AI Analysis
Technical Summary
The vulnerability arises from the way Apache Camel's embedded HTTP server and management server handle authentication paths when a non-root context path is configured. The BasicAuthenticationConfigurer and JWTAuthenticationConfigurer derive the authentication path from the configured context path if the authentication path is not explicitly set. Due to the Vert.x sub-router mounting model, the authentication handler only matches the exact configured path, not subpaths. Consequently, unauthenticated requests to subpaths bypass authentication and can access protected business routes and management endpoints. The /observe/info endpoint can disclose sensitive runtime information such as user, working directory, process ID, JVM, and OS details. This affects Apache Camel versions 4.14.1 up to but not including 4.14.6, and 4.18.0 up to but not including 4.18.2. The issue is fixed in versions 4.14.6, 4.18.2, and 4.20.0.
Potential Impact
Unauthenticated attackers can bypass authentication on subpaths of configured non-root context paths, gaining unauthorized access to protected business routes and management endpoints. This includes access to the /observe/info endpoint, which can disclose sensitive runtime metadata such as user identity, working directory, home directory, process ID, JVM, and operating system information. The vulnerability has a CVSS 3.1 base score of 8.2, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
A fix is available. Users should upgrade Apache Camel to version 4.14.6 if using the 4.14.x LTS stream, to version 4.18.2 if using the 4.18.x LTS stream, or to version 4.20.0 or later. The vendor advisory from Red Hat confirms these fixed versions. No other mitigation steps are indicated or required beyond applying the official patches.
CVE-2026-40022: CWE-288 Authentication Bypass Using an Alternate Path or Channel in Apache Software Foundation Apache Camel Platform HTTP Main
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.
CVSS v3.1
Score 8.2high
Affected software
pkg:maven/org.apache.camel/camel-platform-http-mainRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the way Apache Camel's embedded HTTP server and management server handle authentication paths when a non-root context path is configured. The BasicAuthenticationConfigurer and JWTAuthenticationConfigurer derive the authentication path from the configured context path if the authentication path is not explicitly set. Due to the Vert.x sub-router mounting model, the authentication handler only matches the exact configured path, not subpaths. Consequently, unauthenticated requests to subpaths bypass authentication and can access protected business routes and management endpoints. The /observe/info endpoint can disclose sensitive runtime information such as user, working directory, process ID, JVM, and OS details. This affects Apache Camel versions 4.14.1 up to but not including 4.14.6, and 4.18.0 up to but not including 4.18.2. The issue is fixed in versions 4.14.6, 4.18.2, and 4.20.0.
Potential Impact
Unauthenticated attackers can bypass authentication on subpaths of configured non-root context paths, gaining unauthorized access to protected business routes and management endpoints. This includes access to the /observe/info endpoint, which can disclose sensitive runtime metadata such as user identity, working directory, home directory, process ID, JVM, and operating system information. The vulnerability has a CVSS 3.1 base score of 8.2, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
A fix is available. Users should upgrade Apache Camel to version 4.14.6 if using the 4.14.x LTS stream, to version 4.18.2 if using the 4.18.x LTS stream, or to version 4.20.0 or later. The vendor advisory from Red Hat confirms these fixed versions. No other mitigation steps are indicated or required beyond applying the official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-08T10:06:36.340Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-40022","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","vendor":"Red Hat"}]
Threat ID: 69ef33a6ba26a39fba15412c
Added to database: 04/27/2026, 10:00:06 UTC
Last enriched: 07/15/2026, 09:09:44 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.