Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-85316 Overview
CVE-2026-85316 is an Insufficient Granularity of Access Control vulnerability [CWE-1220] in the Apache Camel Platform HTTP component. The component determined whether an endpoint operated in proxy mode by checking whether its configured path started with the string proxy, rather than requiring an exact match. Any endpoint whose path merely begins with those characters, such as proxyStatus, proxy-config, or proxying, became a proxy endpoint without the route author requesting it. This turns ordinary endpoints into unintended request forwarders, creating a server-side request forgery primitive. The flaw affects Apache Camel versions 4.0.0 before 4.18.5 and 4.19.0 before 4.22.1.
Critical Impact
An unauthenticated attacker can abuse misclassified endpoints to relay HTTP traffic through the Camel application, reaching internal services and exposing data that the forwarding path can access.
Affected Products
- Apache Camel 4.0.0 through 4.18.4
- Apache Camel 4.19.0 through 4.22.0
- Apache Camel Platform HTTP component
Discovery Timeline
- 2026-10-19 - CVE-2026-85316 published to the National Vulnerability Database
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-85316
Vulnerability Analysis
The Apache Camel Platform HTTP component exposes HTTP endpoints that can operate either as self-serving routes or as proxies that forward requests downstream. The component selects between these two modes based on the configured path. In affected releases, the selection logic calls a prefix comparison against the literal string proxy instead of an exact-match comparison. Any route whose path begins with those five characters is silently promoted to proxy mode.
Once a route runs in proxy mode, it forwards inbound HTTP requests to a target derived from the request. An attacker who can reach the Camel HTTP listener can issue requests that the unintended proxy will relay. The result is server-side request forgery against hosts reachable from the Camel process, including internal management interfaces, cloud metadata services, and other backend systems.
Root Cause
The root cause is coarse-grained access control in path routing logic. The component uses String.startsWith("proxy") semantics rather than an exact match when identifying proxy endpoints. This is a classic Insufficient Granularity of Access Control pattern [CWE-1220]: an access decision is made on a broader attribute than the design requires, so unrelated identifiers inherit a privileged behavior.
Attack Vector
Exploitation requires network access to the Apache Camel HTTP listener and knowledge, or discovery, of a route whose path happens to begin with proxy. No authentication is required when the endpoint itself does not enforce one. The attacker crafts an HTTP request to the misclassified endpoint. The Camel route treats the request as a proxy call and forwards it to the downstream target reachable from the Camel process. Attack complexity is higher than a trivial SSRF because the attacker must identify or guess a vulnerable path and the reachable target set.
See the Apache Camel CVE-2026-85316 Advisory and the fix in GitHub Pull Request #25833 for the specific code path.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-85316
Indicators of Compromise
- Outbound HTTP connections from the Camel process to internal addresses, cloud metadata endpoints such as 169.254.169.254, or hosts that the application does not normally contact.
- Access log entries targeting routes whose paths begin with proxy but were not documented as proxy routes, for example /proxyStatus, /proxy-config, or /proxying.
- Unexpected 2xx responses from Camel routes that normally return application-specific content.
- Elevated outbound request volume from Camel pods or hosts without a corresponding business workflow.
Detection Strategies
- Inventory all deployed Camel routes using the Platform HTTP component and flag any path that begins with the literal string proxy.
- Compare installed Camel versions against the fixed releases 4.18.5, 4.22.1, and 4.23.0 across all Java services and container images.
- Correlate inbound HTTP requests to Camel endpoints with the outbound HTTP connections those requests generate, and alert on new target hosts.
Monitoring Recommendations
- Capture egress traffic from Camel workloads and alert on connections to RFC1918 ranges, link-local metadata IPs, and management ports that are not part of the normal route topology.
- Log the full request path and remote target for every Platform HTTP route and forward these logs to a central analytics tier for review.
- Monitor for scanning behavior that enumerates paths starting with proxy on Camel-fronted services.
How to Mitigate CVE-2026-85316
Immediate Actions Required
- Upgrade to Apache Camel 4.23.0, which replaces the prefix comparison with an exact path match.
- If you are on the 4.18.x LTS stream, upgrade to 4.18.5. If you are on the 4.22.x LTS stream, upgrade to 4.22.1.
- Audit all route definitions for paths beginning with proxy and confirm whether proxy behavior is intended.
- Restrict network egress from Camel workloads to only the destinations required by documented routes.
Patch Information
The fix is tracked in Apache JIRA Issue CAMEL-24455 and delivered through GitHub Pull Request #25833, with backports in Pull Request #25940 and Pull Request #25942. After the patch, proxy mode is selected only by an exact path match against proxy.
Workarounds
- Rename any endpoint path that begins with proxy but is not intended to behave as a proxy, for example change proxyStatus to status-proxy or health-proxy.
- Place an authenticating reverse proxy or API gateway in front of Camel to block unauthenticated requests to unintended paths.
- Apply egress firewall rules that deny the Camel process access to internal management networks and cloud metadata endpoints until patching is complete.
# Verify installed Apache Camel version in a Maven project
mvn dependency:tree | grep org.apache.camel
# Example dependency pin after upgrading
# <dependency>
# <groupId>org.apache.camel</groupId>
# <artifactId>camel-platform-http</artifactId>
# <version>4.23.0</version>
# </dependency>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

