CVE-2026-33227
JSON

4.3medium

Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ Web, Apache ActiveMQ: Improper Limitation of a Pathname to a Restricted Classpath Directory

Severity
4.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.70% (higher than 49% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-h2h4-5m64-m273BIT-ACTIVEMQ-2026-33227

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

Product or packageVersionsReported by
org.apache.activemq:activemq-clientbefore 5.19.3, from 6.0.0 before 6.2.2CVE List
org.apache.activemq:activemq-brokerbefore 5.19.3, from 6.0.0 before 6.2.2CVE List
org.apache.activemq:activemq-allbefore 5.19.3, from 6.0.0 before 6.2.2CVE List
org.apache.activemq:activemq-webbefore 5.19.3, from 6.0.0 before 6.2.2CVE List
org.apache.activemq:apache-activemqbefore 5.19.3, from 6.0.0 before 6.2.2CVE List
org.apache.activemq:activemq-client (Maven)before 5.19.3, from 6.0.0 before 6.2.2GitHub Advisory Database
org.apache.activemq:activemq-broker (Maven)before 5.19.3, from 6.0.0 before 6.2.2GitHub Advisory Database
org.apache.activemq:activemq-all (Maven)before 5.19.3, from 6.0.0 before 6.2.2GitHub Advisory Database
org.apache.activemq:activemq-web (Maven)before 5.19.3, from 6.0.0 before 6.2.2GitHub Advisory Database
apache activemqbefore 5.19.3, from 6.0.0 before 6.2.2NVD
apache activemq_brokerbefore 5.19.3, from 6.0.0 before 6.2.2NVD
apache activemq_webbefore 5.19.3, from 6.0.0 before 6.2.2NVD

All scores

CISA-ADP4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Validación y restricción inadecuadas de una vulnerabilidad de nombre de ruta de classpath en Apache ActiveMQ Cliente, Apache ActiveMQ Broker, Apache ActiveMQ All. En dos instancias (al crear un consumidor Stomp y también al navegar por mensajes en la consola web), un valor de ’key’ proporcionado por un usuario autenticado podría construirse para recorrer el classpath debido a la concatenación de rutas. Como resultado, la aplicación está expuesta a una vulnerabilidad de carga de recursos de ruta de classpath que podría encadenarse con otro ataque para conducir a un exploit. Este problema afecta a Apache ActiveMQ Cliente: anterior a 5.19.3, desde 6.0.0 anterior a 6.2.2; Apache ActiveMQ Broker: anterior a 5.19.3, desde 6.0.0 anterior a 6.2.2; Apache ActiveMQ All: anterior a 5.19.3, desde 6.0.0 anterior a 6.2.2. Se recomienda a los usuarios actualizar a la versión 5.19.4 o 6.2.3, que corrige el problema. Nota: 5.19.3 y 6.2.2 también corrigen este problema, pero eso está limitado a entornos que no son Windows debido a un error de resolución de separador de ruta corregido en 5.19.4 y 6.2.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33227 changed 2026-04-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-h2h4-5m64-m273 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-33227 changed 2026-10-26Public domain
Bitnami Vulnerability DatabaseBIT-ACTIVEMQ-2026-33227 changed 2026-09-08Apache-2.0