WaratekVRT Sign in

CVE-2026-40022 Apache Camel

Affected softwareApache Camel
Severity8.2 High CVSS 3.1 2 scores
Fixed in4.14.6, 4.18.2, 4.20.0
WeaknessCWE-288
Published27 Apr 2026
Updated26 Oct 2026

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.

CWE-551

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.94% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Reproducer for CVE-2026-40022: Apache Camel camel-platform-http-main authentication bypass on non-root context paths 2026-07-06

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/camel #22474.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2463178 : a Red Hat bug: the triage, which links onward to the fix

CVSS

8.2 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 CISA-ADP Secondary published
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 redhat-SADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.camel:camel-platform-http-main 4.14.1 4.14.6 unbounded
org.apache.camel:camel-platform-http-main 4.18.0 4.18.2 unbounded
org.apache.camel:camel-platform-http-main 4.19.0 4.20.0 unbounded

Products and versions

2 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd apache camel generic ≥ 4.14.1 and < 4.14.6 · ≥ 4.15.0 and < 4.18.2
osv org.apache.camel camel-platform-http-main generic ≥ 4.14.1 and < 4.14.6 · ≥ 4.18.0 and < 4.18.2 · ≥ 4.19.0 and < 4.20.0

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2463178 bugzilla
https://github.com/apache/camel/pull/22474 WEB
https://github.com/apache/camel/pull/22475 WEB
https://github.com/apache/camel/pull/22476 WEB
https://github.com/apache/camel/commit/6ec12cbebfc1b6360cdaac1c1f8c681864911695 WEB
https://github.com/apache/camel/commit/7b5b8c0283c0ab8d703d868ded7614018762a553 WEB
https://github.com/apache/camel/commit/a9ebee94af976ac2afd7906d2e76673067d8be86 WEB
https://camel.apache.org/security/CVE-2026-40022.html WEB
https://github.com/apache/camel PACKAGE
http://www.openwall.com/lists/oss-security/2026/04/26/5 WEB

Timeline

Published2026-04-27By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.