{"cve":"CVE-2026-40022","nvd":{"published":"2026-04-27T10:16:09.500","modified":"2026-10-26T21:10:00.170","status":"Modified","description":"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.\n\nThis issue affects Apache Camel: from 4.14.1 before 4.14.6, from 4.18.0 before 4.18.2.\n\nUsers 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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2},"cwes":["CWE-288","CWE-551"],"references":["https://camel.apache.org/security/CVE-2026-40022.html","http://www.openwall.com/lists/oss-security/2026/04/26/5","https://access.redhat.com/errata/RHSA-2026:17668","https://access.redhat.com/security/cve/CVE-2026-40022","https://bugzilla.redhat.com/show_bug.cgi?id=2463178"],"products":["apache:camel"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-40022","score":0.00937,"percentile":0.60598,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-27vm-5vpj-rp5g","url":"https://osv.dev/vulnerability/GHSA-27vm-5vpj-rp5g","summary":"Apache Camel Vulnerable to Authentication Bypass Using an Alternate Path or Channel","modified":"2026-09-10T03:50:42.232567153Z","packages":[{"ecosystem":"Maven","name":"org.apache.camel:camel-platform-http-main","purl":"pkg:maven/org.apache.camel/camel-platform-http-main","ranges":[">=4.14.1 <4.14.6"],"fixed":["4.14.6"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-platform-http-main","purl":"pkg:maven/org.apache.camel/camel-platform-http-main","ranges":[">=4.18.0 <4.18.2"],"fixed":["4.18.2"]},{"ecosystem":"Maven","name":"org.apache.camel:camel-platform-http-main","purl":"pkg:maven/org.apache.camel/camel-platform-http-main","ranges":[">=4.19.0 <4.20.0"],"fixed":["4.20.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}