CVE-2026-33227

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

State
Published
Severity
4.3 Medium
Published
Apr 7, 2026
Updated
Apr 8, 2026
Reserved
Mar 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NCISA-ADP

Weaknesses

  • CWE-22 Improper input validation for resource loading

Affected Products

ProductVersions
Apache ActiveMQ ClientApache Software Foundation
  • before 5.19.3Affected
  • 6.0.0 to before 6.2.2Affected
Apache ActiveMQ BrokerApache Software Foundation
  • before 5.19.3Affected
  • 6.0.0 to before 6.2.2Affected
Apache ActiveMQ AllApache Software Foundation
  • before 5.19.3Affected
  • 6.0.0 to before 6.2.2Affected
Apache ActiveMQ WebApache Software Foundation
  • before 5.19.3Affected
  • 6.0.0 to before 6.2.2Affected
Apache ActiveMQApache Software Foundation
  • before 5.19.3Affected
  • 6.0.0 to before 6.2.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.