Skip to content
VulniPulse
High 2 vendors · 2 advisories

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

CVE-2026-40022 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
High
CVSS base score
8.2 (Apache), 8.2 (Red Hat)
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
1.07% chance of exploitation in the next 30 days (64th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
Fixed releases
  • Apache: 4.14.6, 4.18.2
  • Red Hat: RHSA-2026:17668
Vendor advisories
2 from Apache, Red Hat
Assigned by
apache (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-40022; each belongs to its advisory, not to every product listed. How records are collected and checked.

Am I affected by CVE-2026-40022?

You are affected if you run Apache Camel, HTTP Server, Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
Apache: Apache Camel Platform HTTP Main 4.14.1 before 4.14.64.14.6
Apache: Apache Camel Platform HTTP Main 4.18.0 before 4.18.24.18.2
Red Hat: camel-http-starterNo fixed release on this branch listed by the vendor
Red Hat: camel-http-commonNo fixed release on this branch listed by the vendor
Red Hat: camel-http-baseNo fixed release on this branch listed by the vendor
Red Hat: camel-httpNo fixed release on this branch listed by the vendor

Also listed as fixed: Red Hat: RHSA-2026:17668

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.

Text from the CVE.org record (apache).

How do I fix CVE-2026-40022?

Upgrade to a fixed release named by the vendor:

  • Apache: 4.14.6, 4.18.2
  • Red Hat: RHSA-2026:17668
  • Users are recommended to upgrade to version 4.20.0, which fixes the issue. (Apache)
  • If users are on the 4.14.x LTS releases stream, they are suggested to upgrade to 4.14.6. (Apache)
  • Update the affected package(s) to the fixed version shipped in RHSA-2026:17668 (`sudo dnf update` / `yum update`). (Red Hat)

Vendor advisories for CVE-2026-40022

Apache

1 advisory
  • Advisory severityHigh8.2

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

    CVE-2026-40022Source published Source updated

    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…

    Affected products in this advisory
    • Apache Camel
    • HTTP Server
    Source-reported 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
    Source-reported fixed versions
    • 4.14.6
    • 4.18.2
    Mitigation guidance
    • 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.

Red Hat

1 advisory
  • Advisory severityHigh8.2

    High [CVE-2026-40022] Information disclosure and authentication bypass in embedded HTTP/management servers

    CVE-2026-40022Source published

    Information disclosure and authentication bypass in embedded HTTP/management servers. Red Hat rates this important (CVSS 8.2). Weakness: CWE-551. Affected package(s): camel-http-starter, camel-http-common, camel-http-base, camel-http. Resolved in Red Hat advisory RHSA-2026:17668 — update the affected packages (`sudo dnf update`).

    Affected products in this advisory
    • Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
    Source-reported affected versions
    • camel-http-starter
    • camel-http-common
    • camel-http-base
    • camel-http
    Source-reported fixed versions
    • RHSA-2026:17668
    Mitigation guidance
    • Update the affected package(s) to the fixed version shipped in RHSA-2026:17668 (`sudo dnf update` / `yum update`).

References

Timeline

  1. First vendor advisory listed by VulniPulse
  2. CVE record published
  3. CVE record last updated

All Apache advisories

Get an email when Apache publishes the next one.

See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about Apache