MediumGHSA-h2h4-5m64-m273BIT-activemq-2026-33227CVE-2026-33227

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

Published 7 Apr 2026 · Updated 10 Sept 2026

Is your project on an affected org.apache.activemq:activemq-client?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<5.19.3
Fixed in
5.19.3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-client -DdepVersion=5.19.3 -DforceVersion=true
Affected
>=6.0.0 <6.2.2
Fixed in
6.2.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-client -DdepVersion=6.2.2 -DforceVersion=true
Affected
<5.19.3
Fixed in
5.19.3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-broker -DdepVersion=5.19.3 -DforceVersion=true
Affected
>=6.0.0 <6.2.2
Fixed in
6.2.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-broker -DdepVersion=6.2.2 -DforceVersion=true
Affected
<5.19.3
Fixed in
5.19.3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-all -DdepVersion=5.19.3 -DforceVersion=true
Affected
>=6.0.0 <6.2.2
Fixed in
6.2.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-all -DdepVersion=6.2.2 -DforceVersion=true
Affected
<5.19.3
Fixed in
5.19.3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-web -DdepVersion=5.19.3 -DforceVersion=true
Affected
>=6.0.0 <6.2.2
Fixed in
6.2.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-web -DdepVersion=6.2.2 -DforceVersion=true

Details

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.

Is GHSA-h2h4-5m64-m273 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.activemq:activemq-client, and gives you the command that fixes it.

More advisories for org.apache.activemq:activemq-client

  • HighCVE-2026-50734Apache ActiveMQ Client, Apache ActiveMQ, Apache ActiveMQ All has a Memory Allocation with Excessive Size Value vulnerability · 30 Jun 2026
  • HighCVE-2026-53917Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability · 30 Jun 2026
  • HighCVE-2026-39304 Apache ActiveMQ: Denial of Service via Out of Memory vulnerability · 10 Apr 2026
  • MediumCVE-2025-27533Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation · 7 May 2025
  • CriticalCVE-2023-46604Apache ActiveMQ is vulnerable to Remote Code Execution · 27 Oct 2023
  • MediumCVE-2013-3060Improper Authentication in Apache ActiveMQ · 17 May 2022
All 20 advisories for org.apache.activemq:activemq-client

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.