Severity:
CVSS 3.1: 4.8 (medium) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected versions:
- Apache Camel (org.apache.camel:camel-platform-http) 4.0.0 before 4.18.5
- Apache Camel (org.apache.camel:camel-platform-http) 4.19.0 before 4.22.1
- Apache Camel (org.apache.camel:camel-platform-http) 4.18.5 unaffected
- Apache Camel (org.apache.camel:camel-platform-http) 4.22.1 unaffected
- Apache Camel (org.apache.camel:camel-platform-http) 4.23.0 unaffected
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.
Solution:
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.
Work Arounds:
For deployments that cannot upgrade immediately, rename any endpoint path that
begins with proxy but is not intended to be a proxy.
Credit:
Claude Security (finder)
Andrea Cosentino (remediation developer)
References:
https://camel.apache.org/security/CVE-2026-85316.html
https://issues.apache.org/jira/browse/CAMEL-24455
https://github.com/apache/camel/pull/25833
https://github.com/apache/camel/pull/25940
https://github.com/apache/camel/pull/25942
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-85316