Apache Camel Platform HTTP Main: Authentication Bypass on Non-Root Context Paths in camel main runtime
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-288.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel Platform HTTP Main | 4.14.1 to before 4.14.6; 4.18.0 to before 4.18.2 | 4.14.6, 4.18.2 | Patch available | CNA |
| — | org.apache.camel:camel-platform-http-main (Maven) | 4.14.1 to before 4.14.6 | 4.14.6 | Patch available | GHSA-27vm-5vpj-rp5g |
| — | org.apache.camel:camel-platform-http-main (Maven) | 4.18.0 to before 4.18.2 | 4.18.2 | Patch available | GHSA-27vm-5vpj-rp5g |
| — | org.apache.camel:camel-platform-http-main (Maven) | 4.19.0 to before 4.20.0 | 4.20.0 | Patch available | GHSA-27vm-5vpj-rp5g |
- Apache Camel Platform HTTP Main VendorApache Affected 4.14.1 to before 4.14.6; 4.18.0 to before 4.18.2 Fixed in 4.14.6, 4.18.2 Patch available CNA
- org.apache.camel:camel-platform-http-main (Maven) Vendor— Affected 4.14.1 to before 4.14.6 Fixed in 4.14.6 Patch available GHSA-27vm-5vpj-rp5g
- org.apache.camel:camel-platform-http-main (Maven) Vendor— Affected 4.18.0 to before 4.18.2 Fixed in 4.18.2 Patch available GHSA-27vm-5vpj-rp5g
- org.apache.camel:camel-platform-http-main (Maven) Vendor— Affected 4.19.0 to before 4.20.0 Fixed in 4.20.0 Patch available GHSA-27vm-5vpj-rp5g
Remediation
- Fix · CNA Apache Camel Platform HTTP Main (Apache Software Foundation) Fixed in 4.14.6, 4.18.2
- Fix · GHSA-27vm-5vpj-rp5g org.apache.camel:camel-platform-http-main (Maven) Fixed in 4.14.6 Advisory →
- Fix · GHSA-27vm-5vpj-rp5g org.apache.camel:camel-platform-http-main (Maven) Fixed in 4.18.2 Advisory →
- Fix · GHSA-27vm-5vpj-rp5g org.apache.camel:camel-platform-http-main (Maven) Fixed in 4.20.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:17668 Released 2026-05-14 · Red Hat rating CriticalRed Hat Build of Apache Camel 4.18.1 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Fixed | RHSA-2026:17668 |
Not affected: 7 products
- OpenShift Serverless
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Process Automation 7
- Red Hat Single Sign-On 7
- Red Hat build of Apache Camel 4 for Quarkus 3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40022
- 2026-10-03 Alias added: GHSA-27vm-5vpj-rp5g
References
Advisory 3
Other 7
- https://github.com/apache/camel/pull/22474
- https://github.com/apache/camel/pull/22475
- https://github.com/apache/camel/pull/22476
- https://github.com/apache/camel/commit/6ec12cbebfc1b6360cdaac1c1f8c681864911695
- https://github.com/apache/camel/commit/7b5b8c0283c0ab8d703d868ded7614018762a553
- https://github.com/apache/camel/commit/a9ebee94af976ac2afd7906d2e76673067d8be86
- https://github.com/apache/camel
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40022 · CVE Program
- CVE-2026-40022 · NVD
- FIRST EPSS
- GHSA-27vm-5vpj-rp5g · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40022 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences