CVE-2026-84218
jolokia-service-jsr160 Incomplete target JMX Service URL deny list handling for user-controlled input
Description
A flaw was found in Jolokia's JSR-160 proxy functionality where insufficient validation of client-controlled JMX service URLs allows a bypass of the denylist introduced to mitigate CVE-2018-1000130. The proxy accepts a target.url value from a Jolokia POST request and passes it to JMXServiceURL and JMXConnectorFactory for establishing the remote JMX connection. The existing denylist only rejects URLs matching service:jmx:rmi:///jndi/ldap:.*, which can be bypassed using alternative valid JMX service URL forms, including ldaps:// schemes or LDAP URLs with a non-empty JMX host component. These URLs are accepted as valid JMXServiceURL objects and can cause the Jolokia agent JVM to perform a JNDI lookup against an attacker-controlled LDAP endpoint. This can result in server-side request forgery (SSRF), forwarding of supplied JMX credentials to the remote endpoint, and potentially remote code execution depending on the classes and configuration available in the target JVM.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jolokia » jolokia-service-jsr160 | < 2.6.2 | 2.6.2 |
Blast radius
35% of the dependent artifacts (47) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 194 |
| 2 hops | 482 |
| 3 hops | 1,181 |
| 4 hops | 271 |
| 5 hops | 30 |
Most used dependents
- com.k-int.ciim » ciim-core42 usages
- io.hawt » hawtio-system26 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- net.corda » corda-webserver14 usages
- io.hawt » hawtio-springboot13 usages
- net.corda » corda-webserver-impl12 usages
- org.jolokia » jolokia-agent-jvm11 usages
- io.hawt » hawtio-war11 usages
- org.jolokia » jolokia-support-spring11 usages
- org.apache.camel » camel-platform-http-main9 usages
- net.corda » corda-test-utils9 usages
- io.hawt » hawtio-default8 usages
- org.apache.camel » camel-catalog-lucene8 usages
Computed from the dependency graph of build 20261129.2353 (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 | NVD CVE-2026-84218 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-c9ff-59g8-m36q | github.com |
| Package | jolokia/jolokia | github.com |
| Web | jolokia/jolokia issue #1049 | github.com |
| Web | security/cve/CVE-2026-84218 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | jolokia.org | jolokia.org |
