Improper Input Validation Affecting org.apache.activemq:activemq-broker package, versions [,5.19.7)[6.0.0,6.2.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.57% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEACTIVEMQ-17151864
  • published4 Jun 2026
  • disclosed1 Jun 2026
  • creditpyn3rd, uname, 4ra1n

Introduced: 1 Jun 2026

CVE-2026-42588  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade org.apache.activemq:activemq-broker to version 5.19.7, 6.2.6 or higher.

Overview

org.apache.activemq:activemq-broker is a high performance Apache 2.0 licensed Message Broker and JMS 1.1 implementation.

Affected versions of this package are vulnerable to Improper Input Validation through the addNetworkConnector function exposed via the Jolokia JMX-HTTP bridge. An attacker can achieve arbitrary code execution by invoking MBean operations with a crafted discovery URI that leverages the VM transport's brokerConfig parameter, resulting in the loading of a malicious Spring XML application context. This leads to the instantiation of attacker-controlled beans before configuration validation, allowing execution of arbitrary commands on the broker's JVM.

CVSS Base Scores

version 4.0
version 3.1