Security mailing lists by PureSourceCode

CVE-2026-41044

HIGH 8.8CVSS 3.1

Apache ActiveMQ Vulnerable to Code Injection

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

An authenticated attacker can use the admin web console page to construct a malicious broker name that bypasses name validation to include an xbean binding that can be later used by a VM transport to load a remote Spring XML application.
The attacker can then use the DestinationView mbean to send a message to trigger a VM transport creation that will reference this malicious broker name which can lead to loading the malicious Spring XML context file.

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: before 5.19.6, from 6.0.0 before 6.2.5; 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.

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

Published
24 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-20CWE-94
Also known as
BIT-activemq-2026-41044GHSA-mr6m-xj7v-3cv3
Sources
NVDJSONOSV GHSA-mr6m-xj7v-3cv3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache activemq
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
< 5.19.6 5.19.6
NVD apache activemq
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.2.5 6.2.5
NVD apache activemq_broker
cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:*
< 5.19.6 5.19.6
NVD apache activemq_broker
cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.2.5 6.2.5
OSV Maven org.apache.activemq:apache-activemq < 5.19.6 5.19.6
OSV Maven org.apache.activemq:activemq-all < 5.19.6 5.19.6
OSV Maven org.apache.activemq:activemq-broker < 5.19.6 5.19.6
OSV Maven org.apache.activemq:apache-activemq >= 6.0.0, < 6.2.5 6.2.5
OSV Maven org.apache.activemq:activemq-all >= 6.0.0, < 6.2.5 6.2.5
OSV Maven org.apache.activemq:activemq-broker >= 6.0.0, < 6.2.5 6.2.5

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.