Security mailing lists by PureSourceCode

CVE-2026-40022

HIGH 8.2CVSS 3.1

Apache Camel Vulnerable to Authentication Bypass Using an Alternate Path or Channel

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.

Published
27 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-288CWE-551
Also known as
GHSA-27vm-5vpj-rp5g
Sources
NVDJSONOSV GHSA-27vm-5vpj-rp5gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache camel
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
>= 4.14.1, < 4.14.6 4.14.6
NVD apache camel
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
>= 4.15.0, < 4.18.2 4.18.2
OSV Maven org.apache.camel:camel-platform-http-main >= 4.14.1, < 4.14.6 4.14.6
OSV Maven org.apache.camel:camel-platform-http-main >= 4.18.0, < 4.18.2 4.18.2
OSV Maven org.apache.camel:camel-platform-http-main >= 4.19.0, < 4.20.0 4.20.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.