Categories
CVE-2026-42588 high CVSS 8.1

Vulnerability in activemq (CVE-2026-42588)

Summary

Vulnerability in activemq (CVE-2026-42588). Confidential information can be exposed externally. Mitigation: upgrade to 5.19.7, 6.2.6 or later.

Original description

The description as published by the source.

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.

Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including
BrokerService.addNetworkConnector(String).

An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the "masterslave:// " URL which can allow loading a Spring XML application context using ResourceXmlApplicationContext.
Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec().
This issue affects Apache ActiveMQ Broker: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6.

Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-42588 has been found in activemq.
Confidential information can be exposed externally. CVSS score: 8.1/10.
What to do: upgrade activemq to 5.19.7, 6.2.6 or later.
If unsure, ask your IT team or search "activemq CVE-2026-42588" on the vendor's site.

CVE-2026-42588 (activemq) — CWE-20 / CVSS v3 8.1
Attack vector: remote (network-reachable) / no user interaction
Patched: 5.19.7, 6.2.6 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-20) exists in activemq.

📍 Affected scope

Check the vendor advisory for the affected versions of activemq.

🔥 Severity

Severity: High (CVSS 8.1/10). Confidential information can be exposed externally.

🔧 How to fix

Update to 5.19.7, 6.2.6.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'activemq' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'activemq' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で activemq を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade activemq to 5.19.7, 6.2.6

    ステージング環境で 5.19.7, 6.2.6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

Bitnami activemq
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.19.7"},{"introduced":"6.0.0"},{"fixed":"6.2.6"}]}]
maven org.apache.activemq:activemq-broker
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6"}]}]
maven org.apache.activemq:activemq-all
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6"}]}]
maven org.apache.activemq:apache-activemq
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details