製品・ソフトウェアに関する情報
Apache Software FoundationのApache ActiveMQ等の複数製品における複数の脆弱性
Title Apache Software FoundationのApache ActiveMQ等の複数製品における複数の脆弱性
Summary

Apache ActiveMQ Broker、Apache ActiveMQ All、および Apache ActiveMQ には、不適切な入力検証およびコード生成の不適切な制御(コードインジェクション)による脆弱性があります。認証された攻撃者は、activemq-http モジュールがクラスパスにある場合に、BrokerView.addNetworkConnector または BrokerView.addConnector を通じて HTTP Discovery トランスポートを使用してコネクタを追加し、この問題を悪用できます。悪意のある HTTP エンドポイントは HTTP URI を介して VM トランスポートを返し、検証を回避します。攻撃者は VM トランスポートの brokerConfig パラメータを利用して ResourceXmlApplicationContext を使用し、リモートの Spring XML アプリケーションコンテキストを読み込むことが可能です。Spring の ResourceXmlApplicationContext は BrokerService が設定を検証する前にすべてのシングルトンビーンをインスタンス化するため、Runtime.exec() のようなビーンファクトリメソッドを通じてブローカーの JVM 上で任意のコードを実行します。この問題は Apache ActiveMQ Broker の 5.19.6 より前のバージョン、6.0.0 から 6.2.5 より前のバージョン、Apache ActiveMQ All の 5.19.6 より前のバージョン、6.0.0 から 6.2.5 より前のバージョン、および Apache ActiveMQ の 5.19.6 より前のバージョン、6.0.0 から 6.2.5 より前のバージョンに影響します。ユーザーはこの問題を修正したバージョン 5.19.6 または 6.2.5 へのアップグレードを推奨されています。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

参考情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date April 28, 2026, 10:12 a.m.
Last Update April 28, 2026, 10:12 a.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
Apache Software Foundation
ActiveMQ Broker 5.19.6 未満
ActiveMQ Broker 6.0.0 以上 6.2.5 未満
Apache ActiveMQ 5.19.6 未満
Apache ActiveMQ 6.0.0 以上 6.2.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
Change Log
No Changed Details Date of change
1 [2026年04月28日]
  掲載
April 28, 2026, 10:12 a.m.

NVD Vulnerability Information
CVE-2026-40466
Summary

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.

Publication Date April 24, 2026, 8:16 p.m.
Registration Date April 25, 2026, 4:07 a.m.
Last Update April 27, 2026, 9:23 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* 5.19.6
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* 6.0.0 6.2.5
cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:* 5.19.6
cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:* 6.0.0 6.2.5
Related information, measures and tools
Common Vulnerabilities List