GHSA-27vm-5vpj-rp5g

Suggest an improvement
Source
https://github.com/advisories/GHSA-27vm-5vpj-rp5g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-27vm-5vpj-rp5g/GHSA-27vm-5vpj-rp5g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-27vm-5vpj-rp5g
Aliases
Downstream
CGA (4)
Published
2026-04-27T12:30:38Z
Modified
2026-09-10T03:50:42Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Apache Camel Vulnerable to Authentication Bypass Using an Alternate Path or Channel
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-288"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-05T21:38:59Z",
    "nvd_published_at":  "2026-04-27T10:16:09Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven
org.apache.camel:camel-platform-http-main

Package

Name
org.apache.camel:camel-platform-http-main
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-platform-http-main

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.1
Fixed
4.14.6

Affected versions

4.*
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-27vm-5vpj-rp5g/GHSA-27vm-5vpj-rp5g.json"
org.apache.camel:camel-platform-http-main

Package

Name
org.apache.camel:camel-platform-http-main
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-platform-http-main

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
4.18.2

Affected versions

4.*
4.18.0
4.18.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-27vm-5vpj-rp5g/GHSA-27vm-5vpj-rp5g.json"
org.apache.camel:camel-platform-http-main

Package

Name
org.apache.camel:camel-platform-http-main
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-platform-http-main

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.20.0

Affected versions

4.*
4.19.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-27vm-5vpj-rp5g/GHSA-27vm-5vpj-rp5g.json"