Categories
CVE-2026-40466 high CVSS 8.8

Vulnerability in org.apache.activemq:apache-activemq (CVE-2026-40466)

Summary

Vulnerability in org.apache.activemq:apache-activemq (CVE-2026-40466). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 6.2.5 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.

An authenticated attacker may bypass the fix in CVE-2026-34197 by adding a connector using an HTTP Discovery transport via BrokerView.addNetworkConnector or BrokerView.addConnector through Jolokia if the activemq-http module is on the classpath.
A malicious HTTP endpoint can return a VM transport through the HTTP URI which will bypass the validation added in CVE-2026-34197. The attacker can then use the VM transport's brokerConfig parameter to load a remote 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.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5.

Users are recommended to upgrade to version 5.19.6 or 6.2.5, which fixes the issue.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

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-40466 has been found in org.apache.activemq:apache-activemq.
Successful exploitation can lead to full system takeover. CVSS score: 8.8/10.
What to do: upgrade org.apache.activemq:apache-activemq to 6.2.5 or later.
If unsure, ask your IT team or search "org.apache.activemq:apache-activemq CVE-2026-40466" on the vendor's site.

CVE-2026-40466 (org.apache.activemq:apache-activemq) — CWE-20 / CVSS v3 8.8
Attack vector: remote (network-reachable) / no user interaction
Patched: 6.2.5 — 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 org.apache.activemq:apache-activemq.

📍 Affected scope

Check the vendor advisory for the affected versions of org.apache.activemq:apache-activemq.

🔥 Severity

Severity: High (CVSS 8.8/10). Successful exploitation can lead to full system takeover.

🔧 How to fix

Update to 6.2.5.

🛡️ 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. Audit SBOM/dependencies to find affected services.

Response actions

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

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.apache.activemq:apache-activemq を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply patch patch
    Upgrade org.apache.activemq:apache-activemq to 6.2.5

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

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

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

Affected packages

Maven org.apache.activemq:apache-activemq
[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.2.5"}]}]
Maven org.apache.activemq:activemq-all
[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.2.5"}]}]
Maven org.apache.activemq:activemq-broker
[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.2.5"}]}]
Bitnami activemq
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.19.6"},{"introduced":"6.0.0"},{"fixed":"6.2.5"}]}]

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