Skip to content
VulniPulse
High8.2Apache Software Foundation

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

This Apache advisory covers CVE-2026-40022 in Apache Camel and HTTP Server.

Open the Apache advisory

Key facts

Vendor rating
High, CVSS 8.2
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N · base score 8.2, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: low. Availability impact: none.
Weakness
  • CWE-288 Authentication Bypass Using an Alternate Path or Channel
EPSS
0.94% chance of exploitation in the next 30 days (61st percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
CISA KEV
Not listed (catalogue checked )
Affected
Apache Camel Platform HTTP Main 4.14.1 before 4.14.6; Apache Camel Platform HTTP Main 4.18.0 before 4.18.2
Fixed in
4.14.6, 4.18.2
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationHTTP ServerMessaging

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.

Text from the source record.

Affected versions
  • Apache Camel Platform HTTP Main 4.14.1 before 4.14.6
  • Apache Camel Platform HTTP Main 4.18.0 before 4.18.2

Official advisory · high-confidence parse· fetched ·verify at source

How to fix CVE-2026-40022

Upgrade to the first fixed release for your version, shown in the table above.

Vendor guidance

  • Users are recommended to upgrade to version 4.20.0, which fixes the issue.

End-of-life dates for Apache HTTP Server

CVE-2026-40022 in other vendors' advisories

Compare every advisory for CVE-2026-40022

Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories

Get an email when Apache HTTP Server (httpd) publishes the next one.

See Apache HTTP Server (httpd)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Apache HTTP Server (httpd)