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)
| Artifact | Affected versions | Fixed 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
100% of the dependent artifacts (3,467) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.activemq » activemq-broker625 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.activemq » activemq-kahadb-store236 usages
- org.apache.activemq » activemq-all234 usages
- org.apache.activemq » activemq-camel206 usages
- org.apache.activemq » activemq-pool205 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- org.apache.tomee » openejb-core193 usages
- org.wso2.carbon.automation » org.wso2.carbon.automation.test.utils179 usages
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.openejb » openejb-core148 usages
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.
