CVE-2026-85316
Apache Camel: Camel-Platform-HTTP Unintended Proxy Mode via Prefix Path Matching
Description
Insufficient Granularity of Access Control vulnerability in Apache Camel Platform HTTP component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
The component decided whether an endpoint ran in proxy mode by testing whether its configured path started with the string proxy, rather than by matching the path exactly. Any endpoint whose path merely begins with those characters - proxyStatus, proxy-config, proxying and so on - therefore became a proxy endpoint without the route author asking for it. A proxy endpoint forwards requests onward, so an endpoint that was intended to serve its own content instead relays traffic on behalf of whoever calls it, which is both a request forgery primitive and an exposure of whatever the forwarding path can reach.
Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. Proxy mode is now selected by an exact path match rather than by prefix. For deployments that cannot upgrade immediately, rename any endpoint path that begins with proxy but is not intended to be a proxy.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-platform-httppreliminary | >= 4.0.0, < 4.18.5>= 4.19.0, < 4.22.1 | 4.18.5, 4.22.1 |
Blast radius
27% of the dependent artifacts (29) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 451 |
| 2 hops | 1,023 |
| 3 hops | 942 |
| 4 hops | 956 |
| 5 hops | 533 |
| 6 hops | 9 |
Most used dependents
- org.apache.camel.quarkus » camel-quarkus-rest40 usages
- org.apache.camel.quarkus » camel-quarkus-platform-http31 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel » camel-platform-http-vertx13 usages
- org.apache.camel.quarkus » camel-quarkus-platform-http-deployment13 usages
- org.apache.camel » camel-rest-openapi12 usages
- org.apache.camel.quarkus » camel-quarkus-rest-deployment11 usages
- org.apache.camel » camel-platform-http-main9 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel.quarkus » camel-quarkus-lra5 usages
- org.apache.camel.quarkus » camel-quarkus-rest-openapi5 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | security/CVE-2026-85316.html | camel.apache.org |
| Advisory | CVE record CVE-2026-85316 | github.com |
| Advisory | NVD CVE-2026-85316 | nvd.nist.gov |
| Fix | apache/camel pull request #25833 | github.com |
| Fix | apache/camel pull request #25940 | github.com |
| Fix | apache/camel pull request #25942 | github.com |
| Report | jira/browse/CAMEL-24455 | issues.apache.org |
| Web | maven2 | repo.maven.apache.org |
