Security Resilience

CVE-2026-40022

Auth Bypass in Apache Camel 4.14.1 – 4.14.6

Published
27 April 2026
Modified
26 October 2026
Patch / advisory
CVSS Score v3.1 8.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS Score 0.011 64th percentile
Risk Priority 63 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-40022 is a high-severity Authentication Bypass Using an Alternate Path or Channel (CWE-288) vulnerability in Apache Camel. Its CVSS base score is 8.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 36% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-25 (Reference Monitor) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-40022 is a vulnerability in the Apache Camel embedded HTTP server and embedded management server (camel-platform-http-main) when authentication is enabled via BasicAuthenticationConfigurer or JWTAuthenticationConfigurer and a non-root context path, such as /api or /admin, is configured using camel.server.path or camel.management.path. The issue arises because these configurers derive the authentication path from properties.getPath() if camel.server.authenticationPath or camel.management.authenticationPath is not explicitly set. Due to Vert.x's sub-router mounting model, where the sub-router mounts at the path prefix and the authentication handler registers at the exact resolved path, authentication only applies to the precise context path and not its subpaths. This allows unauthenticated access to protected business routes and management endpoints under those subpaths, such as /api/_route_ or /admin/observe/info. The vulnerability affects Apache Camel versions from 4.14.1 before 4.14.6 and from 4.18.0 before 4.18.2, with a CVSS v3.1 base score of 8.2 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N) and is associated with CWE-288 (Authentication Bypass Using an Alternate Path or Channel).

Any unauthenticated attacker with network access to the affected Apache Camel server can exploit this vulnerability by crafting HTTP requests to unprotected subpaths under the configured context paths. For instance, requests to /admin/observe/info bypass authentication entirely, enabling attackers to retrieve sensitive runtime metadata including the current user, working directory, home directory, process ID, JVM details, and operating system information. This results in high confidentiality impact through information disclosure and low integrity impact, potentially aiding further reconnaissance or attacks, without requiring privileges, user interaction, or elevated complexity.

The official Apache Camel security advisory at https://camel.apache.org/security/CVE-2026-40022.html and the announcement on the oss-security mailing list at http://www.openwall.com/lists/oss-security/2026/04/26/5 recommend upgrading to Apache Camel version 4.20.0 to remediate the issue. Users on the 4.14.x LTS release stream should upgrade to 4.14.6, while those on the 4.18.x LTS stream should upgrade to 4.18.2. No additional workarounds are specified beyond these version updates.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1133 External Remote Services Persistence
Adversaries may leverage external-facing remote services to initially access and/or persist within a network.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1546.008 Accessibility Features Privilege Escalation
Adversaries may establish persistence and/or elevate privileges by executing malicious content triggered by accessibility features.
T1563.002 RDP Hijacking Lateral Movement
Adversaries may hijack a legitimate user’s remote desktop session to move laterally within an environment.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-66169Same product: Apache Camel
CVE-2026-80352Same product: Apache Camel
CVE-2026-53913Same product: Apache Camel
CVE-2026-66906Same product: Apache Camel
CVE-2026-66907Same product: Apache Camel
CVE-2026-80351Same product: Apache Camel
CVE-2026-40047Same product: Apache Camel
CVE-2026-88900Same product: Apache Camel
CVE-2026-43866Same product: Apache Camel
CVE-2026-27172Same product: Apache Camel

Affected Assets

apache
camel
4.14.1 — 4.14.6 · 4.15.0 — 4.18.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 7 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.4.3
  • V6.6.1
  • V12.1.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Requires a tamperproof, always-invoked reference monitor that structurally blocks bypass via any alternate path.

Enforces authorization checks on every logical access path, eliminating unauthenticated alternate channels.

Mandates unique identification and authentication for all organizational users, covering the primary authentication requirement.

Controls all external and key internal interfaces, reducing the chance of unauthenticated alternate channels.

SI-10 mandates validation (including canonicalization) of inputs before security decisions are made, directly stopping the incorrect ordering that enables the bypass.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-03 full match
blocks

Requiring authentication on every channel and path directly eliminates alternate-path bypasses.

PR.AA-05 mostly match
blocks

Enforcing authorizations and least privilege across all access vectors prevents unauthenticated alternate paths.

PR.IR-01 mostly match
blocks

Protecting networks and environments from unauthorized logical access blocks bypass via undocumented channels.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require correct authorization logic after parsing/canonicalization to prevent bypasses.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect alternate-path bypasses but does not prevent them in production.

blocks

Access rights provisioning and review prevent bypass via unmonitored or alternate channels.

prevents

Training developers in secure coding practices can make some of them aware that authorization must follow URL canonicalization, but this is a subtle ordering defect that most awareness programmes do not name explicitly, and the practice is fallible — consistent with the A.6.3 vs CWE-598 partial anchor and the A.8.28 vs CWE-79 partial anchor on the same kind of developer-introduced code defect.

blocks

Privileged access rights control reduces risk of bypass through elevated or alternate paths.

blocks

A.8.20's network-level controls (firewalls per (i), network authentication per (h), connection filtering per (j)) can block exploitation of network-accessible alternate paths — e.g., a directly reachable web management URL or login screen — by restricting who reaches them, but cannot address local alternate paths (keyboard sequences, hardware registers), application-level alternate channels within the same service (API vs GUI), or design-level shadow resources, leaving a nameable remainder.

blocks

A.8.21's authentication requirements (item b), authorization procedures (item c), and network connection controls (item d) can be implemented to require authentication on all access paths to a network service, which blocks exploitation of an unauthenticated alternate path; however, the underlying architectural flaw in the product remains, and the clause cannot redesign third-party or COTS products where the alternate path is hardcoded into the design, leaving a nameable remainder.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (2 rules)
  • V-248598 There must be no ".shosts" files on the OL 8 operating system. blocks CWE-288
  • V-248827 OL 8 must not have the rsh-server package installed. blocks CWE-288
Oracle Linux 9 (2 rules)
  • V-271757 OL 9 file systems must not contain shosts.equiv files. blocks CWE-288
  • V-271758 OL 9 file systems must not contain .shosts files. blocks CWE-288
RHEL 7 (2 rules, 1 more partial)
  • V-204440 Red Hat Enterprise Linux operating systems version 7.2 or newer using Unified Extensible Firmware Interface (UEFI) must require authentication upon booting into single-user and maintenance modes. blocks CWE-288
  • V-204442 The Red Hat Enterprise Linux operating system must not have the rsh-server package installed. blocks CWE-288
  • V-204424 The Red Hat Enterprise Linux operating system must not allow accounts configured with blank or null passwords. blocks CWE-288

References