MODERATE 4.3

CVE-2026-33227

Apache ActiveMQ: Improper validation and restriction of a classpath path name

Description

Improper validation and restriction of a classpath path name vulnerability in Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ Web, Apache ActiveMQ.

In two instances (when creating a Stomp consumer and also browsing messages in the Web console) an authenticated user provided "key" value could be constructed to traverse the classpath due to path concatenation. As a result, the application is exposed to a classpath path resource loading vulnerability that could potentially be chained together with another attack to lead to exploit. This issue affects Apache ActiveMQ Client: before 5.19.3, from 6.0.0 before 6.2.2; Apache ActiveMQ Broker: before 5.19.3, from 6.0.0 before 6.2.2; Apache ActiveMQ All: before 5.19.3, from 6.0.0 before 6.2.2; Apache ActiveMQ Web: before 5.19.3, from 6.0.0 before 6.2.2; Apache ActiveMQ: before 5.19.3, from 6.0.0 before 6.2.2.

Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue. Note: 5.19.3 and 6.2.2 also fix this issue, but that is limited to non-Windows environments due to a path separator resolution bug fixed in 5.19.4 and 6.2.3.

Affected Maven artifacts (4)

ArtifactAffected versionsFixed in
org.apache.activemq » activemq-all
< 5.19.3>= 6.0.0, < 6.2.2
5.19.3, 6.2.2
org.apache.activemq » activemq-broker
< 5.19.3>= 6.0.0, < 6.2.2
5.19.3, 6.2.2
org.apache.activemq » activemq-client
< 5.19.3>= 6.0.0, < 6.2.2
5.19.3, 6.2.2
org.apache.activemq » activemq-web
< 5.19.3>= 6.0.0, < 6.2.2
5.19.3, 6.2.2

Blast radius

4affected artifacts
1,848affected versions
3,467dependent artifacts (est.)
617,147dependent versions

100% of the dependent artifacts (3,467) still pull an affected version in their latest release.

DepthDependent versions
Direct
60,184
2 hops
140,367
3 hops
225,560
4 hops
142,386
5 hops
37,692
6 hops
10,958

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.