cve.bz

CVE-2026-40022 apache camel

8.2 highEPSS 0.9%Fix available

High (8.2) in apache camel. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.camel:camel-platform-http-main 4.14.6, 4.18.2, 4.20.0.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-288 Authentication Bypass Using an Alternate Path or Channel
CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40022 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40022?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40022?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40022 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-40022

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-40022](https://cve.bz/cve/badge/CVE-2026-40022.svg)](https://cve.bz/cve/CVE-2026-40022)

HTML:

<a href="https://cve.bz/cve/CVE-2026-40022"><img src="https://cve.bz/cve/badge/CVE-2026-40022.svg" alt="CVE-2026-40022"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Camel Platform HTTP Mainfrom 4.14.1 before 4.14.6
Apache Software Foundation Apache Camel Platform HTTP Mainfrom 4.18.0 before 4.18.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-27vm-5vpj-rp5gMavenorg.apache.camel:camel-platform-http-main>=4.14.1 <4.14.64.14.6
GHSA-27vm-5vpj-rp5gMavenorg.apache.camel:camel-platform-http-main>=4.18.0 <4.18.24.18.2
GHSA-27vm-5vpj-rp5gMavenorg.apache.camel:camel-platform-http-main>=4.19.0 <4.20.04.20.0

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14camel-httpFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14camel-http-baseFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14camel-http-commonFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14camel-http-starterFixed 2026-05-14RHSA-2026:17668
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-log-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-timer-source-rhel9Not affected
Red Hat build of Apache Camel 4 for Quarkus 3camel-httpNot affected
Red Hat build of Apache Camel 4 for Quarkus 3camel-http-baseNot affected
Red Hat build of Apache Camel 4 for Quarkus 3camel-http-commonNot affected
Red Hat Fuse 7camel-httpNot affected
Red Hat Fuse 7camel-http4Not affected
Red Hat Fuse 7camel-http4-starterNot affected
Red Hat Fuse 7camel-http-baseNot affected
Red Hat Fuse 7camel-http-commonNot affected
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40022.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • oscerd/CVE-2026-40022 0 stars, Java, created
    Reproducer for CVE-2026-40022: Apache Camel camel-platform-http-main authentication bypass on non-root context paths

Attack patterns (CAPEC)

  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium
  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON