Authentication Bypass Affecting apache-camel-karavan-devmode package, versions <4.18.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.03% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-APACHECAMELKARAVANDEVMODE-16786696
  • published21 May 2026
  • disclosed27 Apr 2026

Introduced: 27 Apr 2026

CVE-2026-40022  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade Chainguard apache-camel-karavan-devmode to version 4.18.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-camel-karavan-devmode package and not the apache-camel-karavan-devmode package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1