Improper Authentication in Apache Camel - CVE-2026-40022

 

Improper Authentication in Apache Camel - CVE-2026-40022

Published: August 25, 2026


Vulnerability identifier: #VU145336
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40022
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication and disclose sensitive information.

The vulnerability exists due to improper access control in the BasicAuthenticationConfigurer and JWTAuthenticationConfigurer authentication path handling for camel-platform-http-main when handling requests to subpaths under a configured non-root context path. A remote attacker can send crafted unauthenticated requests to protected subpaths to bypass authentication and disclose sensitive information.

The issue occurs when authentication is enabled and a non-root context path is configured for the embedded HTTP server or embedded management server, while the authentication path is not explicitly set. The /observe/info endpoint can expose runtime metadata including user, working directory, home directory, process ID, JVM, and operating system information.


Affected software

Apache Camel

How to mitigate CVE-2026-40022

Install security update from vendor's website.

Apache Camel - addressed in versions 4.14.6, 4.18.2, 4.20.0

External References

Related Security Bulletins